mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-18 13:16:49 +00:00
Push notifications: Add a magic button to fix duplicate notifications
This commit is contained in:
parent
e5636382e6
commit
7d435d7557
9 changed files with 39 additions and 0 deletions
|
@ -87,6 +87,20 @@ struct PushNotificationsView: View {
|
||||||
}
|
}
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Section {
|
||||||
|
Button("settings.push.duplicate.button.fix") {
|
||||||
|
Task {
|
||||||
|
await subscription.deleteSubscription()
|
||||||
|
await subscription.updateSubscription(forceCreate: true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} header: {
|
||||||
|
Text("settings.push.duplicate.title")
|
||||||
|
} footer: {
|
||||||
|
Text("settings.push.duplicate.footer")
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.navigationTitle("settings.push.navigation-title")
|
.navigationTitle("settings.push.navigation-title")
|
||||||
.scrollContentBackground(.hidden)
|
.scrollContentBackground(.hidden)
|
||||||
|
|
|
@ -119,6 +119,9 @@
|
||||||
"settings.content.default-visibility" = "Sichtbarkeit Beiträge";
|
"settings.content.default-visibility" = "Sichtbarkeit Beiträge";
|
||||||
"settings.content.reading" = "Lesen";
|
"settings.content.reading" = "Lesen";
|
||||||
"settings.content.posting" = "Schreiben";
|
"settings.content.posting" = "Schreiben";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "Entdecken";
|
"tab.explore" = "Entdecken";
|
||||||
|
|
|
@ -122,6 +122,9 @@
|
||||||
"settings.section.other" = "Other";
|
"settings.section.other" = "Other";
|
||||||
"settings.other.hide-openai" = "Enable 🤖 helper";
|
"settings.other.hide-openai" = "Enable 🤖 helper";
|
||||||
"settings.other.social-keyboard" = "Enable Social Keyboard";
|
"settings.other.social-keyboard" = "Enable Social Keyboard";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "Explore";
|
"tab.explore" = "Explore";
|
||||||
|
|
|
@ -119,6 +119,9 @@
|
||||||
"settings.content.default-visibility" = "Publicar visibilidad";
|
"settings.content.default-visibility" = "Publicar visibilidad";
|
||||||
"settings.content.reading" = "Leyendo";
|
"settings.content.reading" = "Leyendo";
|
||||||
"settings.content.posting" = "Publicando";
|
"settings.content.posting" = "Publicando";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
"enum.expand-media.show" = "Siempre";
|
"enum.expand-media.show" = "Siempre";
|
||||||
"enum.expand-media.hide" = "Nunca";
|
"enum.expand-media.hide" = "Nunca";
|
||||||
"enum.expand-media.hide-sensitive" = "Ocultar contenido sensible";
|
"enum.expand-media.hide-sensitive" = "Ocultar contenido sensible";
|
||||||
|
|
|
@ -119,6 +119,9 @@
|
||||||
"settings.content.default-visibility" = "Visibilità del post";
|
"settings.content.default-visibility" = "Visibilità del post";
|
||||||
"settings.content.reading" = "Lettura";
|
"settings.content.reading" = "Lettura";
|
||||||
"settings.content.posting" = "Composizione";
|
"settings.content.posting" = "Composizione";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "Esplora";
|
"tab.explore" = "Esplora";
|
||||||
|
|
|
@ -105,6 +105,9 @@
|
||||||
"settings.timeline.add" = "ローカルタイムラインの追加";
|
"settings.timeline.add" = "ローカルタイムラインの追加";
|
||||||
"settings.title" = "設定";
|
"settings.title" = "設定";
|
||||||
"settings.rate" = "Ice Cubesを評価する";
|
"settings.rate" = "Ice Cubesを評価する";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "エクスプローラー";
|
"tab.explore" = "エクスプローラー";
|
||||||
|
|
|
@ -119,6 +119,9 @@
|
||||||
"settings.content.default-visibility" = "Standaard postzichtbaarheid";
|
"settings.content.default-visibility" = "Standaard postzichtbaarheid";
|
||||||
"settings.content.reading" = "Lezen";
|
"settings.content.reading" = "Lezen";
|
||||||
"settings.content.posting" = "Posten";
|
"settings.content.posting" = "Posten";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "Ontdekken";
|
"tab.explore" = "Ontdekken";
|
||||||
|
|
|
@ -109,6 +109,9 @@
|
||||||
"settings.section.other" = "Diğer";
|
"settings.section.other" = "Diğer";
|
||||||
"settings.other.hide-openai" = "Yardımcıyı 🤖 Aktive Et";
|
"settings.other.hide-openai" = "Yardımcıyı 🤖 Aktive Et";
|
||||||
"settings.other.social-keyboard" = "Sosyal Klavyeyi Aktive Et";
|
"settings.other.social-keyboard" = "Sosyal Klavyeyi Aktive Et";
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "Keşfet";
|
"tab.explore" = "Keşfet";
|
||||||
|
|
|
@ -121,6 +121,10 @@
|
||||||
"settings.content.reading" = "阅读设置";
|
"settings.content.reading" = "阅读设置";
|
||||||
"settings.content.posting" = "发布设置";
|
"settings.content.posting" = "发布设置";
|
||||||
|
|
||||||
|
"settings.push.duplicate.title" = "Duplicate notifications fixer";
|
||||||
|
"settings.push.duplicate.footer" = "Receiving duplicate notifications? Try this magic button in order to fix it";
|
||||||
|
"settings.push.duplicate.button.fix" = "🪄 Fix it";
|
||||||
|
|
||||||
// MARK: Tabs
|
// MARK: Tabs
|
||||||
"tab.explore" = "探索";
|
"tab.explore" = "探索";
|
||||||
"tab.federated" = "跨站";
|
"tab.federated" = "跨站";
|
||||||
|
|
Loading…
Reference in a new issue