From 6098058a32b18aada45e16e922983464504ddc28 Mon Sep 17 00:00:00 2001
From: chrk2205 <44704035+chrk2205@users.noreply.github.com>
Date: Wed, 21 Oct 2020 00:34:03 +0530
Subject: Move notification settings to their own screen (#4526)
added a new fragment named "notification manager"
replaced all settings related into this fragment
---
core/src/main/res/drawable/ic_notifications_black.xml | 9 +++++++++
core/src/main/res/drawable/ic_notifications_white.xml | 5 +++++
core/src/main/res/values/attrs.xml | 1 +
core/src/main/res/values/strings.xml | 7 ++++---
core/src/main/res/values/styles.xml | 2 ++
5 files changed, 21 insertions(+), 3 deletions(-)
create mode 100644 core/src/main/res/drawable/ic_notifications_black.xml
create mode 100644 core/src/main/res/drawable/ic_notifications_white.xml
(limited to 'core/src')
diff --git a/core/src/main/res/drawable/ic_notifications_black.xml b/core/src/main/res/drawable/ic_notifications_black.xml
new file mode 100644
index 000000000..7009a6763
--- /dev/null
+++ b/core/src/main/res/drawable/ic_notifications_black.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/core/src/main/res/drawable/ic_notifications_white.xml b/core/src/main/res/drawable/ic_notifications_white.xml
new file mode 100644
index 000000000..10239aadd
--- /dev/null
+++ b/core/src/main/res/drawable/ic_notifications_white.xml
@@ -0,0 +1,5 @@
+
+
+
diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml
index 4a18f6ae6..a78f837bf 100644
--- a/core/src/main/res/values/attrs.xml
+++ b/core/src/main/res/values/attrs.xml
@@ -60,6 +60,7 @@
+
diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml
index f3b59ecd5..078793672 100644
--- a/core/src/main/res/values/strings.xml
+++ b/core/src/main/res/values/strings.xml
@@ -30,6 +30,7 @@
The episode cache limit has been reached. You can increase the cache size in the Settings.
Playback
Downloads
+ Notifications
Total time of podcasts played:
@@ -443,7 +444,7 @@
Force full synchronization
Sync all subscriptions and episode states with gpodder.net.
%1$s with device %2$s]]>
- Show sync error notifications
+ Synchronization failed
This setting does not apply to authentication errors.
Customize the speeds available for variable speed playback
The speed to use when starting audio playback for episodes in this podcast
@@ -471,9 +472,9 @@
You can only select a maximum of %1$d items.
Set Lockscreen Background
Set the lockscreen background to the current episode\'s image. As a side effect, this will also show the image in third party apps.
- Show Download Report
+ Download failed
If downloads fail, generate a report that shows the details of the failure.
- Show Auto Download Report
+ Automatic download completed
Show a notification for automatically downloaded episodes.
Android versions before 4.1 do not support expanded notifications.
Enqueue Location
diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml
index 92faa927a..9ec82215a 100644
--- a/core/src/main/res/values/styles.xml
+++ b/core/src/main/res/values/styles.xml
@@ -75,6 +75,7 @@
- @drawable/scrollbar_thumb_light
- @color/filter_dialog_clear_light
- @drawable/filter_dialog_background_light
+ - @drawable/ic_notifications_black