aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-04-09 16:15:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-04-09 16:15:10 +0000
commit21e1fcdad905d7bb7ced74c21ce55d5a25d00453 (patch)
tree8581b8f1ae757eb9d3af681604faa7680f50566b /app/src
parent0bef61a45f211cb9cc525f8c9760d5d0560ed157 (diff)
downloadinfinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.tar
infinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.tar.gz
infinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.tar.bz2
infinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.tar.lz
infinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.tar.xz
infinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.tar.zst
infinity-for-reddit-21e1fcdad905d7bb7ced74c21ce55d5a25d00453.zip
Hide Comment Toolbar Hidden by Default option.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java3
-rw-r--r--app/src/main/res/xml/comment_preferences.xml4
2 files changed, 4 insertions, 3 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java
index 91f819f9..06e0ee52 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java
@@ -485,7 +485,8 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy
mShowElapsedTime = sharedPreferences.getBoolean(SharedPreferencesUtils.SHOW_ELAPSED_TIME_KEY, false);
mTimeFormatPattern = sharedPreferences.getString(SharedPreferencesUtils.TIME_FORMAT_KEY, SharedPreferencesUtils.TIME_FORMAT_DEFAULT_VALUE);
mExpandChildren = !sharedPreferences.getBoolean(SharedPreferencesUtils.SHOW_TOP_LEVEL_COMMENTS_FIRST, false);
- mCommentToolbarHidden = sharedPreferences.getBoolean(SharedPreferencesUtils.COMMENT_TOOLBAR_HIDDEN, false);
+ //mCommentToolbarHidden = sharedPreferences.getBoolean(SharedPreferencesUtils.COMMENT_TOOLBAR_HIDDEN, false);
+ mCommentToolbarHidden = true;
mCommentToolbarHideOnClick = sharedPreferences.getBoolean(SharedPreferencesUtils.COMMENT_TOOLBAR_HIDE_ON_CLICK, true);
mSwapTapAndLong = sharedPreferences.getBoolean(SharedPreferencesUtils.SWAP_TAP_AND_LONG_COMMENTS, false);
mShowCommentDivider = sharedPreferences.getBoolean(SharedPreferencesUtils.SHOW_COMMENT_DIVIDER, false);
diff --git a/app/src/main/res/xml/comment_preferences.xml b/app/src/main/res/xml/comment_preferences.xml
index 2248d7f3..f736937e 100644
--- a/app/src/main/res/xml/comment_preferences.xml
+++ b/app/src/main/res/xml/comment_preferences.xml
@@ -12,10 +12,10 @@
app:key="show_comment_divider"
app:title="@string/settings_show_comment_divider_title" />
- <SwitchPreference
+ <!--<SwitchPreference
app:defaultValue="false"
app:key="comment_toolbar_hidden"
- app:title="@string/settings_comment_toolbar_hidden" />
+ app:title="@string/settings_comment_toolbar_hidden" />-->
<SwitchPreference
app:defaultValue="true"