Stypox
6204608c60
Update app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java
2021-06-08 14:44:54 +02:00
Eric Xu
ad2e1dcf03
Add PlaylistTab.hashCode() matching equals
2021-05-26 12:01:30 -04:00
Eric Xu
9b4c7e6644
Refactor PlaylistTab.equals
2021-05-26 12:01:30 -04:00
Eric Xu
6ab457e51c
Add ChannelTab.hashCode() matching equals
2021-05-26 12:01:30 -04:00
Eric Xu
346df8a36c
Refactor ChannelTab.equals
2021-05-26 12:01:30 -04:00
Eric Xu
68f8c38445
Add KioskTab.hashCode() matching equals
2021-05-26 12:01:30 -04:00
Eric Xu
154e672c91
Refactor KioskTab.equals
2021-05-26 12:01:30 -04:00
Eric Xu
fe5e1df9c2
Add Tab.hashCode() to go with equals
2021-05-26 12:01:30 -04:00
Eric Xu
12425eaadc
Refactor equals method
2021-05-26 12:01:30 -04:00
Alireza Tofighi
2877c43ecb
Invert if condition in ContentSettingsFragment.setImportExportDataPath for better readability
2021-05-21 20:24:57 +04:30
Alireza Tofighi
15873d53c4
Move ContentSettingsFragment.isValidPath to helpers and add unit test for it.
2021-05-21 20:21:58 +04:30
Alireza Tofighi
01f05e2f46
Save backup import/export location for feature import/exports
2021-05-17 21:57:27 +04:30
TacoTheDank
7640aa85c3
Migrate rest of AlertDialogs to AppCompat
2021-04-04 10:26:38 -04:00
krlvm
ef0999b9c3
Merge branch 'dev' into daynight
2021-04-03 00:08:26 +03:00
Stypox
5e7b3c811f
Fix random NullPointerException in NotificationActionsPreference
2021-03-31 09:12:47 +02:00
krlvm
92e8c18177
Cleanup
2021-03-30 00:03:30 +03:00
krlvm
abad71e292
Fix colors in setting fragments, cleanup
2021-03-29 21:19:17 +03:00
krlvm
9bb8f65bef
Fix colors in PeerTube Settings Fragment
2021-03-28 19:36:07 +03:00
Stypox
e2be22edb0
Merge pull request #5879 from TacoTheDank/clean-oncreatepreferences
...
Clean up unnecessary onCreate in settings fragments
2021-03-28 10:48:10 +02:00
krlvm
a8de222577
Fix Dark elements in Light Theme
2021-03-27 17:46:05 +03:00
Stypox
c2b5790fc6
Merge pull request #5882 from TacoTheDank/fragmentcontainerview
...
Replace FrameLayout with FragmentContainerView where applicable
2021-03-27 08:31:32 +01:00
krlvm
c509ecac47
Migrate to DayNight Theme
2021-03-26 23:08:25 +03:00
Stypox
d605441320
Fix settings switches are not red anymore
...
Reverts part of e8baee2a5e
2021-03-24 10:16:24 +01:00
TacoTheDank
39a250c991
Replace FrameLayout with FragmentContainerView where applicable
2021-03-22 17:46:06 -04:00
TacoTheDank
10759e2a78
Clean up unnecessary onCreate in settings fragments
2021-03-22 16:38:36 -04:00
Stypox
e8baee2a5e
Refactor ThemeHelper
2021-03-18 12:39:29 +01:00
bopol
eb4b54afec
Use a list for night themes
...
Also remove unused strings
2021-03-18 12:12:04 +01:00
bopol
e8967c157a
Use a switch preference to follow device theme
2021-03-18 11:23:55 +01:00
Stypox
22c92f1fb3
Completely remove return activity, now outdated
2021-03-12 23:21:54 +01:00
Stypox
9dc583da87
Optimize imports and solve checkstyle issues
2021-03-12 23:21:53 +01:00
Stypox
0ea6b4928c
Add report/solve-recaptcha button in error panel
...
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.
Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Stypox
bb398189d6
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
Stypox
e7226b4531
Set all default settings at the beginning
2021-01-28 18:28:29 +01:00
TiA4f8R
e44495af9a
Apply the requested changes and little improvements
...
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
Apply the requested changes and do little improvements
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
2021-01-16 13:23:42 +01:00
XiangRongLin
417f791973
cleanup
2021-01-03 20:32:16 +01:00
XiangRongLin
7971a468f6
Fix ensureDbDirectoryExists
2021-01-03 20:32:16 +01:00
XiangRongLin
1e632c3d69
Extract settings file deletion
2021-01-03 20:32:16 +01:00
XiangRongLin
e7022ccc94
Remove subclasses from ContentSettingsManagerTest
...
ExportTest provides no value.
ImportTest creates temporary files even if not needed.
2021-01-03 20:32:16 +01:00
XiangRongLin
2a3198de66
Introduce NewPipeFileLocator class
2021-01-03 20:32:16 +01:00
XiangRongLin
85d43a34ab
Move isValidZipFile to ZipHelper
2021-01-03 20:32:16 +01:00
XiangRongLin
09d7c2289c
Adjust ExportTest to new DI with FileLocator
2021-01-03 20:32:16 +01:00
XiangRongLin
c3e0db628b
Introduce NewPipeFileLocator class
...
It handles locating specific NewPipe files based on the home directory of the app.
2021-01-03 20:32:16 +01:00
XiangRongLin
2327fa7351
Extract import database logic in ContentSettingsManager
2021-01-03 20:32:16 +01:00
Isira Seneviratne
55c770cd1b
Use Objects.requireNonNull().
2021-01-02 09:36:33 +05:30
Isira Seneviratne
1e8b014e7c
Use view binding in SettingsActivity.
2020-12-19 04:22:01 +05:30
XiangRongLin
be8716c0ea
Fix compile error caused by auto merging
...
#5176 changed `homeDir` from type `String` to `File`. #5059 was based on `homeDir` being a `String`. It was incorrectly auto-resolved by git.
2020-12-15 20:26:38 +01:00
Stypox
8ef61f2765
Merge pull request #5059 from XiangRongLin/content_settings_manager
...
Extract export database logic into own class
2020-12-15 10:34:32 +01:00
Stypox
9bea46744b
Merge pull request #5178 from Isira-Seneviratne/Use_ActivityCompat_recreate
...
Use ActivityCompat.recreate().
2020-12-15 09:49:14 +01:00
Isira Seneviratne
3712843a78
Use ActivityCompat.recreate().
2020-12-15 13:55:05 +05:30
Isira Seneviratne
bc68d6f95f
Use ContextCompat.getDataDir().
2020-12-15 08:02:25 +05:30