From 15921978d3e1cac97a36fdd2d5094791ded520e6 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 26 Oct 2022 16:48:57 +0200 Subject: [PATCH] Fix issue #368 - Allow to enable/disable media in notifications for boost/fav --- .../android/ui/drawer/NotificationAdapter.java | 8 +++++++- app/src/main/res/values/strings.xml | 4 ++++ app/src/main/res/xml/pref_interface.xml | 8 -------- app/src/main/res/xml/pref_timelines.xml | 17 +++++++++++++++++ 4 files changed, 28 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java index 0739a66c..44e47086 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java @@ -277,7 +277,13 @@ public class NotificationAdapter extends RecyclerView.AdapterSET_CLEAR_CACHE_EXIT SET_DISPLAY_EMOJI SET_AGGREGATE_NOTIFICATION + SET_DISPLAY_MEDIA_NOTIFICATION + x SET_DISPLAY_CARD SET_DISPLAY_VIDEO_PREVIEWS @@ -1488,4 +1490,6 @@ Remember position in timelines Aggregate notifications When turning on, the app will collapse related notifications + Display media in notifications + Media in notifications for reblogs and favourites will be displayed diff --git a/app/src/main/res/xml/pref_interface.xml b/app/src/main/res/xml/pref_interface.xml index 3149de26..3e988e11 100644 --- a/app/src/main/res/xml/pref_interface.xml +++ b/app/src/main/res/xml/pref_interface.xml @@ -20,14 +20,6 @@ app:summary="@string/set_timelines_in_a_list" app:title="@string/set_timelines_in_a_list_title" /> - - + + + + +