Stypox
3d9d25df52
Remove backoff criteria: it never kicked in
...
It never kicked in since we are never returning a retry() Result, but always either success() or failure() (see createWork() function). Also, there is already a default (exponential backoff starting from 30 seconds), so no need to override it.
2022-03-19 21:55:00 +01:00
Stypox
5fea12d8eb
Small code improvements
...
Removed some non-translatable strings and just hardcoded them in the code, like it's being done for other string separators. This also deduplicates some code by using Localization.
Used some Kotlin feature to reduce code.
2022-02-26 10:40:24 +01:00
TobiGr
ff8e44e4f3
Merge branch 'dev' into feature/notifications
2022-02-19 12:34:44 +01:00
Stypox
71c5aaa11e
Do not show enqueue button if play queue not ready
2022-01-27 17:11:16 +01:00
Stypox
d5cfcb28fc
Merge branch 'dev' into pr2335
2022-01-24 10:25:07 +01:00
Stypox
40ea51e622
Add more checking frequencies, use DurationListPreference
2022-01-24 10:12:25 +01:00
mhmdanas
402990dd9d
Fix false warning
2022-01-18 07:40:59 +03:00
Stypox
ccbc3af964
Show error notification when new streams notifications failed
2021-12-31 20:04:56 +01:00
Stypox
cd95ec4e12
Merge branch 'dev' into pr2335
2021-12-31 19:20:18 +01:00
Stypox
fcd2d63df4
Don't show any channel notification thumbnail if it could not be loaded
2021-12-31 18:38:35 +01:00
Stypox
01f3ed0e5e
Fix loading icon in streams notifications
2021-12-12 20:18:16 +01:00
TobiGr
19fd7bc37e
Reduce power consumption
...
Only schedule the chek for new streams if the user enaled the check. Cancel the worker when the user disables the notifications.
2021-12-10 23:52:37 +01:00
TobiGr
3ade2bb6ec
Merge remote-tracking branch 'origin/dev' into notifications
2021-12-07 17:29:37 +01:00
TacoTheDank
75db002369
Update ktlint to 0.43.2
2021-12-04 21:22:29 -05:00
TobiGr
fd1155928e
Fix deciding which streams are new
2021-11-30 23:31:44 +01:00
TobiGr
a8fe2d7e83
Fix "unsage use" warnings
2021-11-28 17:09:20 +01:00
Stypox
6cd25d7e55
Merge pull request #7412 from litetex/code-cleanup
...
Some code cleanup(s)
2021-11-23 08:59:34 +01:00
TobiGr
8ce996e065
Only check for new streams of subscriptions with enabled notifications automatically
2021-11-21 22:53:10 +01:00
TobiGr
892a1df280
Merge remote-tracking branch 'origin/dev' into notifications-1
2021-11-21 22:15:09 +01:00
litetex
7638d229c0
Fixed typo
2021-11-15 20:24:40 +01:00
TacoTheDank
a641c5bb58
Update Groupie to 2.9.0
2021-11-15 20:24:39 +01:00
litetex
1e0c9f46ad
Improved highlighting in FeedFragment
...
Now keeps the ``selectableItemBackground`` when highligthing an item.
2021-11-15 20:22:23 +01:00
litetex
4eb02f584e
Fixed default visibility of "new feed items" button
...
Fixed/Avoid NPEs
2021-11-15 20:22:22 +01:00
litetex
700c1b4b25
Removed unnecessary layout
...
Moved the feed button up a bit
2021-11-15 20:22:21 +01:00
litetex
4b4337e078
Used more understandable kotlin methods
2021-11-15 20:22:20 +01:00
litetex
38ce800685
Fixed feed when animations are off
...
Introduced a check if corresponding animations on the devices are enabled
2021-11-15 20:22:20 +01:00
litetex
2310e8c1d6
Made `hideNewItemsLoaded
` more null safe
2021-11-15 20:22:19 +01:00
litetex
1b2b3a4f88
Make new feed items bold
2021-11-15 20:22:18 +01:00
litetex
02789122a0
Implemented UI highlighting and "new feed items"-notification
...
Fixed format
2021-11-15 20:22:17 +01:00
litetex
676bc02d52
No more reaction to unnecessary feed db-changes
...
This caused duplicate events (https://github.com/TeamNewPipe/NewPipe/pull/6686#issuecomment-909575283 ) and unnecessary processing of items
2021-11-15 20:21:23 +01:00
Stypox
9e44053e22
Merge pull request #7160 from nschulzke/mark-as-watched-everywhere
...
Enable Mark as Watched in all the other playlist fragments.
2021-11-13 20:37:59 +01:00
Nathan Schulzke
dee32c3dc5
Factor out shouldAddMarkAsWatched as a shared function
2021-11-13 10:18:17 -07:00
litetex
adf9badbf6
Fixed toggle not in sync with list after app restart + refactored the code a bit
2021-11-11 19:46:15 +01:00
Baji Shaik
c35fe4f3f1
moved preference key from viewmodel to settings_keys.xml
2021-11-10 16:16:17 -05:00
Baji Shaik
63291f8101
added show watched items toggle preference
...
default sharedpreference is used to persist and retrieve show watched menu option toggle state
2021-11-07 23:11:10 -05:00
litetex
272be36dd9
Removed `e.printStacktrace
` and used an proper logger
2021-11-05 18:04:49 +01:00
litetex
f0112a2de2
Added some lines to improve code-readability
2021-11-02 23:36:46 +01:00
litetex
58418bcf46
Improved code readability
2021-11-02 22:57:31 +01:00
TobiGr
2d2b96420f
Add comments and improve code formatting
2021-10-25 15:06:18 +02:00
TobiGr
77aaa15082
Fix toggling the system's settings for app notification
...
Do not open the setting for a specific notification channel (Settings.ACTION_CHANNEL_NOTIFICATION_SETTINGS), but the settings for all notifications by the app (Settings.ACTION_APP_NOTIFICATION_SETTINGS)
2021-10-25 13:59:55 +02:00
TobiGr
80bf47493e
Fix check wether the app's notifications are disabled via system settings
...
Add comments
Rename a few methods
2021-10-22 21:24:43 +02:00
TobiGr
7d4c7718aa
comments & rename
2021-10-18 13:11:50 +02:00
TobiGr
793ff1a728
Add a few comments and rename a few methods
2021-10-15 20:57:54 +02:00
TobiGr
64a7978c7f
Rename NotificationMode.ENABLED_DEFAULT to NotificationMode.ENABLED
2021-10-15 19:59:06 +02:00
TobiGr
55c51ad49d
Rename isStreamExist -> doesStreamExist
2021-10-11 23:20:52 +02:00
TobiGr
cea14c9d0d
Merge remote-tracking branch 'origin/dev' into notifications-1
2021-10-11 16:37:49 +02:00
litetex
672eb34049
Merge pull request #7150 from TacoTheDank/groupieBump
...
Update Groupie library to 2.9.0
2021-09-30 21:26:58 +02:00
litetex
72dbb9441e
Improved streamType check and documentation
2021-09-25 10:31:42 +02:00
TacoTheDank
b61d44aaa6
Update Groupie to 2.9.0
2021-09-22 19:08:03 -04:00
Koitharu
fb0473da39
Merge branch 'dev' of https://github.com/TeamNewPipe/NewPipe into feature/notifications
2021-09-20 07:26:01 +03:00