From b9ecb42cf44285e92e20dd1178a4eec5d462571c Mon Sep 17 00:00:00 2001 From: RevealedSoulEven <49313374+RevealedSoulEven@users.noreply.github.com> Date: Sun, 21 Aug 2022 13:34:22 +0530 Subject: [PATCH] Added Option to Auto Save Shared Messages --- .../java/xyz/rodit/snapmod/features/conversations/AutoSave.kt | 1 - .../xyz/rodit/snapmod/features/notifications/FilterTypes.kt | 2 -- app/src/main/res/values/arrays.xml | 2 ++ 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/xyz/rodit/snapmod/features/conversations/AutoSave.kt b/app/src/main/java/xyz/rodit/snapmod/features/conversations/AutoSave.kt index 0cdc33a..7a8f530 100644 --- a/app/src/main/java/xyz/rodit/snapmod/features/conversations/AutoSave.kt +++ b/app/src/main/java/xyz/rodit/snapmod/features/conversations/AutoSave.kt @@ -5,7 +5,6 @@ import xyz.rodit.snapmod.features.FeatureContext import xyz.rodit.snapmod.logging.log import xyz.rodit.snapmod.mappings.ArroyoConvertMessagesAction import xyz.rodit.snapmod.mappings.ChatCommandSource -import xyz.rodit.snapmod.mappings.ChatContext import xyz.rodit.snapmod.mappings.Message import xyz.rodit.snapmod.util.* diff --git a/app/src/main/java/xyz/rodit/snapmod/features/notifications/FilterTypes.kt b/app/src/main/java/xyz/rodit/snapmod/features/notifications/FilterTypes.kt index 0a79955..7d56f0c 100644 --- a/app/src/main/java/xyz/rodit/snapmod/features/notifications/FilterTypes.kt +++ b/app/src/main/java/xyz/rodit/snapmod/features/notifications/FilterTypes.kt @@ -7,7 +7,6 @@ import xyz.rodit.snapmod.mappings.NotificationHandler import xyz.rodit.snapmod.util.before import xyz.rodit.snapmod.util.getList import xyz.rodit.snapmod.util.toMax -import xyz.rodit.snapmod.logging.log class FilterTypes(context: FeatureContext) : Feature(context, 84608.toMax()) { @@ -28,7 +27,6 @@ class FilterTypes(context: FeatureContext) : Feature(context, 84608.toMax()) { val type = bundle.getString("type") ?: bundle.getString("n_key")?.split('~')?.get(0) ?: "" - log.debug(type) if (hiddenTypes.contains(type.lowercase())) { it.result = null } diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 4b7089e..f7e4439 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -93,6 +93,7 @@ Images/Videos Snaps Notes + Shared @@ -101,6 +102,7 @@ EXTERNAL_MEDIA SNAP NOTE + SHARE