New option: Settings->Interface->Comment->Hide Author Avatar. Fix Application ClassCastException in MainActivity. Don't show the number of child comments in expanded comments.

This commit is contained in:
Alex Ning
2022-02-05 15:19:18 +08:00
parent 101525ae33
commit c265bbecf9
8 changed files with 36 additions and 8 deletions

View File

@@ -22,7 +22,8 @@
android:id="@+id/author_icon_image_view_item_comment_fully_collapsed"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical" />
android:layout_gravity="center_vertical"
android:visibility="gone" />
<TextView
android:id="@+id/user_name_text_view_item_comment_fully_collapsed"

View File

@@ -629,6 +629,7 @@
<string name="settings_hide_comment_awards_title">Hide Comment Awards</string>
<string name="settings_show_fewer_toolbar_options_threshold_title">Show Fewer Toolbar Options Starting From</string>
<string name="settings_show_fewer_toolbar_options_threshold_summary">Level %1$d</string>
<string name="settings_show_author_avatar_title">Hide Author Avatar</string>
<string name="no_link_available">Cannot get the link</string>

View File

@@ -32,6 +32,11 @@
app:key="fully_collapse_comment"
android:title="@string/settings_fully_collapse_comment_title" />
<ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="show_author_avatar"
android:title="@string/settings_show_author_avatar_title" />
<ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference
app:defaultValue="false"
app:key="hide_comment_awards"