From f66664a8a2a82308b6c8b3ddeaf5f0ddb0655c82 Mon Sep 17 00:00:00 2001 From: HellPie Date: Thu, 30 Aug 2018 22:44:51 +0200 Subject: [PATCH] Add preferences so that users can toggle the collapsing of long posts This is currently limited to a simple toggle, it would be nice to implement a more advanced UI to offer the user more control over the feature. --- app/src/main/res/values/strings.xml | 5 +++++ app/src/main/res/xml/preferences.xml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 89281958d..8ae41f9b0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -175,6 +175,11 @@ Appearance App Theme + Collapse long posts + Long posts will only show the first 500 characters. + Long posts (over 500 characters) will not be collapsed to save space. + + Dark Light diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 1dd472b85..8b209c614 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -42,6 +42,12 @@ android:key="alwaysShowSensitiveMedia" android:title="@string/pref_title_alway_show_sensitive_media" /> +