From a5c8bf5e7e7534651d850e2b49e703f2829b80b4 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Thu, 17 Oct 2024 22:09:22 +0200 Subject: [PATCH] fix: Remove the "Liimt timeline notifications" preference (#1009) This wasn't acting as a preference. It presented as a switch. If the user toggled it some notification settings were changed for all accounts. It wasn't clear what was changed, and if the user changed some of those settings back the switch position did not change (it couldn't, you couldn't meaningfully represent a partial change using a single switch). Since the user has full control over the notification filters on a per-account basis remove this "preference" to reduce confusion. Fixes #935 --- .../main/java/app/pachli/PachliApplication.kt | 6 +++- .../preference/PreferencesFragment.kt | 28 ------------------- app/src/main/res/values-ar/strings.xml | 1 - app/src/main/res/values-be/strings.xml | 1 - app/src/main/res/values-bg/strings.xml | 1 - app/src/main/res/values-bn-rBD/strings.xml | 1 - app/src/main/res/values-ca/strings.xml | 1 - app/src/main/res/values-ckb/strings.xml | 1 - app/src/main/res/values-cs/strings.xml | 1 - app/src/main/res/values-cy/strings.xml | 1 - app/src/main/res/values-de/strings.xml | 1 - app/src/main/res/values-eo/strings.xml | 1 - app/src/main/res/values-es/strings.xml | 1 - app/src/main/res/values-eu/strings.xml | 1 - app/src/main/res/values-fa/strings.xml | 1 - app/src/main/res/values-fi/strings.xml | 1 - app/src/main/res/values-fr/strings.xml | 1 - app/src/main/res/values-gd/strings.xml | 1 - app/src/main/res/values-gl/strings.xml | 1 - app/src/main/res/values-hu/strings.xml | 1 - app/src/main/res/values-is/strings.xml | 1 - app/src/main/res/values-it/strings.xml | 1 - app/src/main/res/values-ja/strings.xml | 1 - app/src/main/res/values-lv/strings.xml | 1 - app/src/main/res/values-nb-rNO/strings.xml | 1 - app/src/main/res/values-nl/strings.xml | 1 - app/src/main/res/values-oc/strings.xml | 1 - app/src/main/res/values-pl/strings.xml | 1 - app/src/main/res/values-pt-rBR/strings.xml | 1 - app/src/main/res/values-pt-rPT/strings.xml | 1 - app/src/main/res/values-ru/strings.xml | 1 - app/src/main/res/values-sa/strings.xml | 1 - app/src/main/res/values-si/strings.xml | 1 - app/src/main/res/values-sv/strings.xml | 1 - app/src/main/res/values-th/strings.xml | 1 - app/src/main/res/values-tr/strings.xml | 1 - app/src/main/res/values-uk/strings.xml | 1 - app/src/main/res/values-vi/strings.xml | 1 - app/src/main/res/values-zh-rCN/strings.xml | 1 - app/src/main/res/values-zh-rTW/strings.xml | 1 - app/src/main/res/values/strings.xml | 1 - .../core/preferences/SettingsConstants.kt | 5 ++-- 42 files changed, 7 insertions(+), 71 deletions(-) diff --git a/app/src/main/java/app/pachli/PachliApplication.kt b/app/src/main/java/app/pachli/PachliApplication.kt index 0e89a9fda..4a816f15b 100644 --- a/app/src/main/java/app/pachli/PachliApplication.kt +++ b/app/src/main/java/app/pachli/PachliApplication.kt @@ -150,9 +150,13 @@ class PachliApplication : Application() { // General usage is: // // if (oldVersion < ...) { - // ... use editor modify the preferences ... + // ... use `editor` to modify the preferences ... // } + if (oldVersion < 2024101701) { + editor.remove(PrefKeys.Deprecated.WELLBEING_LIMITED_NOTIFICATIONS) + } + editor.putInt(PrefKeys.SCHEMA_VERSION, newVersion) editor.apply() } diff --git a/app/src/main/java/app/pachli/components/preference/PreferencesFragment.kt b/app/src/main/java/app/pachli/components/preference/PreferencesFragment.kt index 161327189..9c4e06211 100644 --- a/app/src/main/java/app/pachli/components/preference/PreferencesFragment.kt +++ b/app/src/main/java/app/pachli/components/preference/PreferencesFragment.kt @@ -49,7 +49,6 @@ import app.pachli.core.common.util.unsafeLazy import app.pachli.core.data.repository.AccountManager import app.pachli.core.database.model.AccountEntity import app.pachli.core.designsystem.R as DR -import app.pachli.core.network.model.Notification import app.pachli.core.preferences.AppTheme import app.pachli.core.preferences.DownloadLocation import app.pachli.core.preferences.MainNavigationPosition @@ -73,8 +72,6 @@ import app.pachli.updatecheck.UpdateCheck import app.pachli.updatecheck.UpdateCheckResult.AT_LATEST import app.pachli.updatecheck.UpdateNotificationFrequency import app.pachli.util.LocaleManager -import app.pachli.util.deserialize -import app.pachli.util.serialize import app.pachli.view.FontFamilyDialogFragment import com.github.michaelbull.result.Err import com.github.michaelbull.result.Ok @@ -449,31 +446,6 @@ class PreferencesFragment : PreferenceFragmentCompat() { } preferenceCategory(R.string.pref_title_wellbeing_mode) { - switchPreference { - title = getString(R.string.limit_notifications) - setDefaultValue(false) - key = PrefKeys.WELLBEING_LIMITED_NOTIFICATIONS - setOnPreferenceChangeListener { _, value -> - for (account in accountManager.accounts) { - val notificationFilter = deserialize(account.notificationsFilter).toMutableSet() - - if (value == true) { - notificationFilter.add(Notification.Type.FAVOURITE) - notificationFilter.add(Notification.Type.FOLLOW) - notificationFilter.add(Notification.Type.REBLOG) - } else { - notificationFilter.remove(Notification.Type.FAVOURITE) - notificationFilter.remove(Notification.Type.FOLLOW) - notificationFilter.remove(Notification.Type.REBLOG) - } - - account.notificationsFilter = serialize(notificationFilter) - accountManager.saveAccount(account) - } - true - } - } - switchPreference { title = getString(R.string.wellbeing_hide_stats_posts) setDefaultValue(false) diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index fff13b87c..13413675e 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -464,7 +464,6 @@ أظهر نافذة لطلب التأكيد قبل الإضافة إلى المفضلة فشل في تحميل معلومات الرد غير محددة - وضع حد لإشعارات الخيط الزمني 14 يومًا 30 يومًا 60 يومًا diff --git a/app/src/main/res/values-be/strings.xml b/app/src/main/res/values-be/strings.xml index 180fcaf36..252315cd5 100644 --- a/app/src/main/res/values-be/strings.xml +++ b/app/src/main/res/values-be/strings.xml @@ -509,7 +509,6 @@ Вы не можаце запампаваць больш за %1$d медыя далучэнняў. Вы не можаце запампаваць больш за %1$d медыя далучэнняў. - Абмежаванне апавяшчэнняў у стужцы Схаваць колькасную статыстыку допісаў Схаваць колькасную статыстыку профіляў Парушэнне правіла diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 401603507..fba248c92 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -360,7 +360,6 @@ Скриване на количествена статистика на профили Скриване на количествена статистика на публикации - Ограничаване на известия от емисия Преглед на известията Част от информацията, която може да повлияе на вашето психично състояние, ще бъде скрита. Това включва: \n diff --git a/app/src/main/res/values-bn-rBD/strings.xml b/app/src/main/res/values-bn-rBD/strings.xml index e5aa80eb1..5e192722a 100644 --- a/app/src/main/res/values-bn-rBD/strings.xml +++ b/app/src/main/res/values-bn-rBD/strings.xml @@ -365,7 +365,6 @@ সংরক্ষিত! অবতারে পরিসংখ্যান লুকাও ছাপার পরিসংখ্যান লুকাও - সময়কাল বিজ্ঞপ্তি সীমাবদ্ধ করো তোমার মানসিক স্বাস্থে নেতিবাচক প্রভাব ফেলতে পারে এমন জিনিসগুলো লুকানো আছে। যেমন: \n \n - পছন্দ/বুস্ট/অনুসরণ বিজ্ঞপ্তি diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index b890b7b15..df62b5a10 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -415,7 +415,6 @@ Amaga les estadístiques quantitatives dels perfils Amaga les estadístiques quantitatives de les publicacions - Limita les notificacions de la cronologia %s (%s) Vols suprimir aquesta conversa\? La imatge no s\'ha pogut editar. diff --git a/app/src/main/res/values-ckb/strings.xml b/app/src/main/res/values-ckb/strings.xml index 111813aa4..7a3e79c17 100644 --- a/app/src/main/res/values-ckb/strings.xml +++ b/app/src/main/res/values-ckb/strings.xml @@ -198,7 +198,6 @@ شاردنەوەی زانیاری چەندێتی لەسەر پرۆفایلەکان شاردنەوەی زانیاری چەندێتی لە بابەتەکان - سنووردارکردنی ئاگانامەکانی تایم لاین پێداچوونەوەی ئاگانامەکان هەندێک زانیاری کە لەوانەیە کاریگەری لەسەر باشبوونی دەروونیت دروست بکات دەشاردرێنەوە. ئەمە پێکدێت لە: \n diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index edfac90b5..7f735ac6c 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -469,7 +469,6 @@ Uloženo! Pohoda Zkontrolovat oznámení - Omezit upozornění na časové ose Skrýt kvantitativní statistiky příspěvků Připojil/a se %1$s Koncept se ukládá… diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml index cfd436368..a8d79c0c6 100644 --- a/app/src/main/res/values-cy/strings.xml +++ b/app/src/main/res/values-cy/strings.xml @@ -413,7 +413,6 @@ Tudalnodiwyd Dewiswch restr Wedi adrodd ar @%s yn llwyddiannus - Cyfyngu ar hysbysiadau ffrydiau Dangos enw defnyddiwr mewn bariau offer Dangos cadarnhad cyn hoffi Cuddio teitl y bar offer uchaf diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index e4a50be31..f6c9581dc 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -426,7 +426,6 @@ Auch wenn dein Konto öffentlich bzw. nicht geschützt ist, haben die Admins von %1$s gedacht, dass du diesen Follower lieber manuell bestätigen solltest. Statistiken auf Profilen ausblenden Statistiken in Beiträgen ausblenden - Timeline-Benachrichtigungen einschränken Abonnieren Deabonnieren in %d Min. diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index df38cd7c3..55d7e8bd8 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -438,7 +438,6 @@ \n \n Sciigoj ne estos influitaj, sed vi povas kontroli viajn agordojn pri sciigojn permane. Kontroli la sciigojn - Limigi sciigojn pri tempolinio La mesaĝo, al kiu tiu ĉi malneto respondas, estis forigita %s registriĝis iu registriĝis diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 1e8cb8573..0ee78a960 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -435,7 +435,6 @@ Duración Adjuntos Audio - Limitar cronología de notificaciones Quitar marcador Aunque tu cuenta no está bloqueada, el personal de %1$s pensó que podrías querer revisar las solicitudes de seguimiento de estas cuentas manualmente. Suscribir diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml index 9fdab2604..5717d7b4d 100644 --- a/app/src/main/res/values-eu/strings.xml +++ b/app/src/main/res/values-eu/strings.xml @@ -406,7 +406,6 @@ Ezin duzu multimedia eranskin %1$d baino gehiago kargatu. Ezin dituzu %1$d multimedia eranskin baino gehiago kargatu. - Denbora-lerroaren jakinarazpenak mugatu Iraupena Zehaztugabea Harpidetza kendu diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml index b9b4201a8..2d75aa864 100644 --- a/app/src/main/res/values-fa/strings.xml +++ b/app/src/main/res/values-fa/strings.xml @@ -402,7 +402,6 @@ فرستادن این فرسته شکست خورد! نهفتن آمار کمی روی نمایه‌ها نهفتن آمار کمی روی فرسته‌ها - محدود کردن آگاهی‌های خط‌زمانی بازبینی آگاهی‌ها سلامتی طول diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index b68294b1c..477f2730e 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -465,7 +465,6 @@ Sääntörikkomus Avainsanat tai jonot jotka suodatetaan Julkaisu, johon olit kirjoittanut vastausluonnoksen, on poistettu - Rajoita aikajanan ilmoituksia Liittyi %1$s Suodattimien lataaminen epäonnistui: %1$s (Päivitetty: %1$s) diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 29dddb2e7..d43f6cc78 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -427,7 +427,6 @@ Bien-être Notifications quand quelqu’un que vous suivez publie un nouveau message - Limiter les notifications du fil Cacher les statistiques quantitatives sur les profils Cacher les statistiques quantitatives sur les messages Supprimer le signet diff --git a/app/src/main/res/values-gd/strings.xml b/app/src/main/res/values-gd/strings.xml index f316a255e..ac94f48d4 100644 --- a/app/src/main/res/values-gd/strings.xml +++ b/app/src/main/res/values-gd/strings.xml @@ -69,7 +69,6 @@ Falaich an stadastaireachd àireamhail air pròifilean Falaich an stadastaireachd àireamhail air postaichean - Cuingich na brathan mun loidhne-ama Thoir sùil air na brathan Thèid cuid a dh’fhiosrachadh a dh’fhaodadh droch-bhuaidh a thoirt air d’ shlàinte-inntinn fhalach. Tha seo a’ gabhail a-staigh: \n diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 25ff32fa2..f1fe9e5b0 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -368,7 +368,6 @@ Agochar estatísticas cuantitativas nos perfís Agochar estatísticas cuantitativas nas publicacións - Limitar notificacións da cronoloxía Revisar Notificacións Agocharemos algunha información que podería afectar ao teu benestar mental. Esto inclúe: \n diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 8a989af5a..bc838e288 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -407,7 +407,6 @@ Profilok mérőszámainak elrejtése Bejegyzések mérőszámainak elrejtése - Idővonali értesítések korlátozása Értesítések Áttekintése Pár információ, ami befolyásolhatja a mentális jóllétedet rejtve marad. Ilyenek pl.: \n diff --git a/app/src/main/res/values-is/strings.xml b/app/src/main/res/values-is/strings.xml index 408546f88..5dc0fae88 100644 --- a/app/src/main/res/values-is/strings.xml +++ b/app/src/main/res/values-is/strings.xml @@ -414,7 +414,6 @@ Fela magntölfræði notendasniða Fela magntölfræði færslna - Takmarka tilkynningar á tímalínu Yfirfara tilkynningar Vellíðan Tilkynningar þegar einhver sem þú ert áskrifandi að hefur birt nýja færslu diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index c27ae5d54..b25c8ee47 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -427,7 +427,6 @@ mi viene richiesto di seguirmi Nascondi le statistiche sui profili Nascondi le statistiche sui post - Limita le notifiche della timeline Rivedi le notifiche Benessere Notifiche di nuovi messaggi di qualcuno a cui sei iscritto diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index a3a984063..229a2efdf 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -400,7 +400,6 @@ 90日間 180日間 365日間 - タイムライン通知を制限する 投稿上の数値的な統計情報を隠す ピン留めに失敗しました ピン留めの解除に失敗しました diff --git a/app/src/main/res/values-lv/strings.xml b/app/src/main/res/values-lv/strings.xml index b1239ddc8..bac29319c 100644 --- a/app/src/main/res/values-lv/strings.xml +++ b/app/src/main/res/values-lv/strings.xml @@ -363,7 +363,6 @@ Paziņojumi par pabeigtajām aptaujām Paziņojumi par jauniem ierakstiem no kāda, kura ierakstus esi abonējis Paziņojumi par jauniem lietotājiem - Ierobežot laika līnijas paziņojumus Slēpt profilu kvantitatīvo statistiku Slēpt ierakstu kvantitatīvo statistiku Neizdevās ielādēt atbildes informāciju diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index c2a2e0ae2..f85aff6bd 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -394,7 +394,6 @@ Kunngjøringer Skjul kvantitativ informasjon på profiler Skjul kvantitativ statistikk på innleggene - Begrens tidslinjevarsler Se over varsler Informasjon som kan påvirke ditt mentale velvære vil bli skjult. Dette inkluderer: \n diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 27362b792..414d7734c 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -382,7 +382,6 @@ Je kan niet meer dan %1$d mediabijlage uploaden. Je kan niet meer dan %1$d mediabijlagen uploaden. - Meldingen op tijdlijn beperken Opgeslagen! Jouw eigen opmerking over dit account Welzijn diff --git a/app/src/main/res/values-oc/strings.xml b/app/src/main/res/values-oc/strings.xml index 762caf44f..190527b02 100644 --- a/app/src/main/res/values-oc/strings.xml +++ b/app/src/main/res/values-oc/strings.xml @@ -417,7 +417,6 @@ Amagar las estatisticas dels perfils Amagar las estatisticas dels tuts - Limitar las notificacions de la cronologia Amagar lo títol ennaut de la barra Afichar una confirmacion abans de partejar Tirar dels marcapaginas diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 1fd5643ba..d37317c52 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -420,7 +420,6 @@ Nie udało się załadować informacji o odpowiedzi Przesłanie wpisu nie powiodło się! Nie ma ogłoszeń. - Ogranicz liczbę powiadomień o zmianach na osi czasu Czas trwania Nowe wpisy Niektóre informacje, które mogą wpływać na Twój dobrostan psychiczny zostaną ukryte. W ich skład wchodzą: diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 5f00ce429..db61c9e88 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -416,7 +416,6 @@ Ocultar estatísticas numéricas dos perfis Ocultar estatísticas numéricas dos Toots - Limitar notificações da linha do tempo Revisar notificações Algumas informações que podem afetar teu bem-estar serão ocultadas. Isso inclui: \n diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index b550ff7c6..f7f509555 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -428,7 +428,6 @@ \n \nNotificações push não serão afetadas, mas é possível rever as configurações das notificações manualmente. Rever Notificações - Limitar notificações da timeline Sem anúncios. O Mastodon tem um intervalo mínimo de agendamento de 5 minutos. Mostrar pré-visualização de hiperligações nas timelines diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index f238a16e9..5b68314e0 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -441,7 +441,6 @@ Черновик удалён Этот гудок не удалось отправить! Скрыть количественную статистику по профилям пользователей - Ограничение уведомлений в ленте Просмотр уведомлений Уведомления, когда кто-то, на кого вы подписаны, опубликовал новую запись Новые гудки diff --git a/app/src/main/res/values-sa/strings.xml b/app/src/main/res/values-sa/strings.xml index e2b23c9d5..3615618c5 100644 --- a/app/src/main/res/values-sa/strings.xml +++ b/app/src/main/res/values-sa/strings.xml @@ -461,7 +461,6 @@ पुनःसम्प्रवेशाय विज्ञापन-ज्ञापनसूचनाः #निश्रेणिचिह्नशीर्षकः व्यक्तित्वविवरणलेखा अनुसरतु - कालानुक्रमपङ्क्त्याः सूचनाः परिमिताः कुरुताम् परिमितावेदनानि प्रति ज्ञापनसूचनाः भवतः अरक्षितानि परिवर्तनानि सन्ति। नूतनम् आवेदनमस्ति diff --git a/app/src/main/res/values-si/strings.xml b/app/src/main/res/values-si/strings.xml index 2033917c9..f8b15ca0a 100644 --- a/app/src/main/res/values-si/strings.xml +++ b/app/src/main/res/values-si/strings.xml @@ -127,7 +127,6 @@ ස්ථානීය ප්‍රියතමයන් පිළිතුරු… - කාලරේඛා දැනුම්දීම් සීමාකරන්න ටූට් යැවීමේ දෝෂයකි පෙරහන එකතු කරන්න සැමවිටම මාධ්‍ය සංවේදී ලෙස සලකුණු කරන්න diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 92a09aa01..b6250393e 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -409,7 +409,6 @@ %s skrev precis Dölj kvantitativ information på profiler Dölj kvantitativ information på inlägg - Begränsa tidslinje aviseringar Revidera aviseringar Information som kan påverka ditt välmående kommer att döljas. Detta inkluderar: \n diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml index bab3057b1..0c00db5d1 100644 --- a/app/src/main/res/values-th/strings.xml +++ b/app/src/main/res/values-th/strings.xml @@ -385,7 +385,6 @@ \n- สถิติ ผู้ติดตาม/โพสต์ ในโปรไฟล์ \n \n การแจ้งเตือนแบบพุชจะไม่ได้รับผลกระทบ แต่คุณสามารถตรวจสอบการตั้งค่าการแจ้งเตือนได้ด้วยตนเอง - แจ้งเตือน Limit timeline แจ้งเตือน Review ใครบางคนที่ฉันได้ติดตาม ได้เผยแพร่โพสต์ใหม่ ซ่อนสถิติเชิงปริมาณในโปรไฟล์ diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 232984d87..8e582ea11 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -460,7 +460,6 @@ Sabitleme Başarısız Açılamadı Bu yayın gönderilemedi! - Ağ akışı bildirimlerini sınırla Yayınların niceliksel istatistikleri gizle şimdi Yanıt yazdığınız yayın kaldırıldı diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index f022b00af..e32722e1b 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -395,7 +395,6 @@ Приховати кількісну статистику профілів Приховати кількісну статистику дописів - Обмеження сповіщень стрічки Переглянути сповіщення Ваша особиста примітка про цей обліковий запис Добробут diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index 0603e96c9..1eaf05bb5 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -383,7 +383,6 @@ Có gì mới\? Ẩn số liệu trên trang hồ sơ Ẩn số liệu trên tút - Giảm bớt thông báo Chọn loại thông báo Các thông tin ảnh hưởng tới tâm lý hành vi của bạn sẽ bị ẩn. Bao gồm: \n diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index c1cc4db3d..cab331448 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -404,7 +404,6 @@ 隐藏账号的统计信息 反馈通知 隐藏嘟文的统计信息 - 限制时间线通知 一些可能影响你精神状态的信息将被隐藏,包括: \n \n - 喜欢、转发、关注通知 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index f4a444cab..da4abf1f4 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -356,7 +356,6 @@ 書籤 隱藏個人頁面中的狀態數量資訊 隱藏貼文上的狀態數量資訊 - 限制時間軸通知 檢查通知設定 有些資訊可能會影響你的心理健康將會被隱藏。包括: \n diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b1ea9ae13..399be864c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -583,7 +583,6 @@ Push-notifications will not be affected, but you can review your notification preferences manually. Review Notifications - Limit timeline notifications Hide quantitative stats on posts Hide quantitative stats on profiles diff --git a/core/preferences/src/main/kotlin/app/pachli/core/preferences/SettingsConstants.kt b/core/preferences/src/main/kotlin/app/pachli/core/preferences/SettingsConstants.kt index 2a433b769..c618987dd 100644 --- a/core/preferences/src/main/kotlin/app/pachli/core/preferences/SettingsConstants.kt +++ b/core/preferences/src/main/kotlin/app/pachli/core/preferences/SettingsConstants.kt @@ -29,7 +29,7 @@ package app.pachli.core.preferences * * - Adding a new preference that does not change the interpretation of an existing preference */ -const val SCHEMA_VERSION = 2023090201 +const val SCHEMA_VERSION = 2024101701 /** The schema version for fresh installs */ const val NEW_INSTALL_SCHEMA_VERSION = 0 @@ -59,7 +59,6 @@ object PrefKeys { const val SHOW_STATS_INLINE = "showStatsInline" const val CUSTOM_TABS = "customTabs" - const val WELLBEING_LIMITED_NOTIFICATIONS = "wellbeingModeLimitedNotifications" const val WELLBEING_HIDE_STATS_POSTS = "wellbeingHideStatsPosts" const val WELLBEING_HIDE_STATS_PROFILE = "wellbeingHideStatsProfile" @@ -114,6 +113,6 @@ object PrefKeys { /** Keys that are no longer used (e.g., the preference has been removed */ object Deprecated { - // Empty at this time + const val WELLBEING_LIMITED_NOTIFICATIONS = "wellbeingModeLimitedNotifications" } }