aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java7
-rw-r--r--app/src/main/res/xml/interface_preference.xml6
2 files changed, 3 insertions, 10 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java
index ebabe07c..ad25f171 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java
@@ -70,13 +70,6 @@ public class PullNotificationWorker extends Worker {
try {
List<Account> accounts = mRedditDataRoomDatabase.accountDao().getAllAccounts();
int color = mCustomThemeWrapper.getColorPrimaryLightTheme();
- NotificationManagerCompat testManager = NotificationUtils.getNotificationManager(context);
- NotificationCompat.Builder test = NotificationUtils.buildNotification(testManager,
- context, "Test", "Test body", "Test summary",
- NotificationUtils.CHANNEL_ID_NEW_MESSAGES,
- NotificationUtils.CHANNEL_NEW_MESSAGES,
- NotificationUtils.getAccountGroupName("Test"), color);
- testManager.notify(9765, test.build());
for (int accountIndex = 0; accountIndex < accounts.size(); accountIndex++) {
Account account = accounts.get(accountIndex);
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml
index 059d08ea..2e5c71e3 100644
--- a/app/src/main/res/xml/interface_preference.xml
+++ b/app/src/main/res/xml/interface_preference.xml
@@ -24,13 +24,13 @@
app:title="@string/settings_enable_bottom_app_bar_title"
app:summary="@string/settings_enable_bottom_app_bar_summary" />
- <PreferenceCategory
- app:title="@string/settings_category_post_and_comment_title" />
-
<Preference
app:title="@string/settings_time_format_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" />
+ <PreferenceCategory
+ app:title="@string/settings_category_post_and_comment_title" />
+
<SwitchPreference
app:defaultValue="false"
app:key="vote_buttons_on_the_right"