mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-02 14:27:10 +01:00
Remove test notification. Rearrange Interface Settings.
This commit is contained in:
parent
5f18f7df64
commit
5a06e5bf88
@ -70,13 +70,6 @@ public class PullNotificationWorker extends Worker {
|
|||||||
try {
|
try {
|
||||||
List<Account> accounts = mRedditDataRoomDatabase.accountDao().getAllAccounts();
|
List<Account> accounts = mRedditDataRoomDatabase.accountDao().getAllAccounts();
|
||||||
int color = mCustomThemeWrapper.getColorPrimaryLightTheme();
|
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++) {
|
for (int accountIndex = 0; accountIndex < accounts.size(); accountIndex++) {
|
||||||
Account account = accounts.get(accountIndex);
|
Account account = accounts.get(accountIndex);
|
||||||
|
|
||||||
|
@ -24,13 +24,13 @@
|
|||||||
app:title="@string/settings_enable_bottom_app_bar_title"
|
app:title="@string/settings_enable_bottom_app_bar_title"
|
||||||
app:summary="@string/settings_enable_bottom_app_bar_summary" />
|
app:summary="@string/settings_enable_bottom_app_bar_summary" />
|
||||||
|
|
||||||
<PreferenceCategory
|
|
||||||
app:title="@string/settings_category_post_and_comment_title" />
|
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
app:title="@string/settings_time_format_title"
|
app:title="@string/settings_time_format_title"
|
||||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" />
|
app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" />
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
app:title="@string/settings_category_post_and_comment_title" />
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
app:defaultValue="false"
|
app:defaultValue="false"
|
||||||
app:key="vote_buttons_on_the_right"
|
app:key="vote_buttons_on_the_right"
|
||||||
|
Loading…
Reference in New Issue
Block a user