From a8617342c3e24fe58c064142cf55cbe4da8f4ce6 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 2 Aug 2022 11:31:59 +0200 Subject: Update release notes --- app/src/main/assets/release_notes/notes.json | 2 +- app/src/main/java/app/fedilab/android/helper/PushHelper.java | 8 ++------ src/fdroid/fastlane/metadata/android/en/changelogs/402.txt | 1 + 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/src/main/assets/release_notes/notes.json b/app/src/main/assets/release_notes/notes.json index bd5778828..13358d3ca 100644 --- a/app/src/main/assets/release_notes/notes.json +++ b/app/src/main/assets/release_notes/notes.json @@ -7,7 +7,7 @@ { "version": "3.0.11", "code": "401", - "note": "Changed:\n- Composing messages is no longer forced to max chars\n\nFixed:\n- Cross-account follow\n- Cannot subscribe to notifications for an account\n- Issues when sharing\n- Wrong profile for emoji reactions in notifications\n- Issue with cards\n- Crashes with tabs\n- Tabs cannot be renamed" + "note": "Added:\n- New theme: Dark Elephant from S1m\n- Error messages from server side when posting fails\n- Allow to set the fetch time for delayed notifications\n\nChanged:\n- Fetch more buttons more visible\n\nFixed:\n- Issue when fetching missing messages\n- Some issues with themes\n- Too much lost space with reaction (Pleroma)\n- Delete and redraft crashes\n- Crash when playing a video\n- Other crash fixes" }, { "version": "3.0.10", diff --git a/app/src/main/java/app/fedilab/android/helper/PushHelper.java b/app/src/main/java/app/fedilab/android/helper/PushHelper.java index fd541ef49..087d05191 100644 --- a/app/src/main/java/app/fedilab/android/helper/PushHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/PushHelper.java @@ -91,9 +91,7 @@ public class PushHelper { new Thread(() -> { List accounts = new Account(context).getPushNotificationAccounts(); for (BaseAccount account : accounts) { - ((Activity) context).runOnUiThread(() -> { - UnifiedPush.unregisterApp(context, account.user_id + "@" + account.instance); - }); + ((Activity) context).runOnUiThread(() -> UnifiedPush.unregisterApp(context, account.user_id + "@" + account.instance)); } }).start(); break; @@ -106,9 +104,7 @@ public class PushHelper { List accounts = new Account(context).getPushNotificationAccounts(); if (accounts != null) { for (BaseAccount account : accounts) { - ((Activity) context).runOnUiThread(() -> { - UnifiedPush.unregisterApp(context, account.user_id + "@" + account.instance); - }); + ((Activity) context).runOnUiThread(() -> UnifiedPush.unregisterApp(context, account.user_id + "@" + account.instance)); } } }).start(); diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/402.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/402.txt index 42e461f2f..79b95fcc2 100644 --- a/src/fdroid/fastlane/metadata/android/en/changelogs/402.txt +++ b/src/fdroid/fastlane/metadata/android/en/changelogs/402.txt @@ -1,6 +1,7 @@ Added: - New theme: Dark Elephant from S1m - Error messages from server side when posting fails +- Allow to set the fetch time for delayed notifications Changed: - Fetch more buttons more visible -- cgit v1.2.3