Commit graph

296 commits

Author SHA1 Message Date
Stypox
7d41b3415d Merge pull request #6346 from Imericxu/tabs-style-check
Resolve Tabs style checks
2021-06-08 14:49:14 +02:00
Stypox
4072fd0ab1 Update app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java 2021-06-08 14:45:00 +02:00
Stypox
6204608c60 Update app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java 2021-06-08 14:44:54 +02:00
Stypox
2d92f18471 Reimplement storing backup import/export path
#6319 and #6402 were reverted before adding SAF changes, and have been readded at the end of SAF changes
2021-06-08 10:41:24 +02:00
Stypox
3399ed2b30 Pass mime type so that SAF treats file extension correctly 2021-06-08 10:40:45 +02:00
Stypox
907c3b77f8 Improve SAF switch descriptions in settings 2021-06-08 10:40:45 +02:00
Stypox
e127083deb Add setting migration to promote using SAF 2021-06-08 10:40:45 +02:00
wb9688
c871d765f3 Fix non-SAF actions 2021-06-08 10:40:44 +02:00
wb9688
1195867a36 Use file picker for export DB 2021-06-08 10:40:44 +02:00
wb9688
995264e5e2 Move Stored(File|Directory)Helper into NewPipe 2021-06-08 10:40:44 +02:00
wb9688
4e133a3599 Support SAF properly 2021-06-08 10:40:44 +02:00
Stypox
84709eb620 Revert all commits related to ContentSettingsFragment
Revert "Annotate methode parameters as NonNull"
This reverts commit af92c3ed4f.

Revert "Commit path immediately when import backup"
This reverts commit c3d9c4bb3f.

Revert "Set ImportExportDataPath only on successful import"
This reverts commit a4bc61a7d0.

Revert "Set ImportExportDataPath only on successful export"
This reverts commit 372d7a7832.

Revert "Invert if condition in ContentSettingsFragment.setImportExportDataPath for better readability"
This reverts commit 2877c43ecb.

Revert "Move ContentSettingsFragment.isValidPath to helpers and add unit test for it."
This reverts commit 15873d53c4.

Revert "Save backup import/export location for feature import/exports"
This reverts commit 01f05e2f46.

Remove FilePathHelperTest file
2021-06-08 10:40:44 +02:00
XiangRongLin
af92c3ed4f Annotate methode parameters as NonNull 2021-05-31 15:09:57 +02:00
XiangRongLin
c3d9c4bb3f Commit path immediately when import backup 2021-05-31 12:40:14 +02:00
XiangRongLin
a4bc61a7d0 Set ImportExportDataPath only on successful import
Also set the folder instead of the file itself as path
2021-05-31 12:38:21 +02:00
XiangRongLin
372d7a7832 Set ImportExportDataPath only on successful export 2021-05-31 12:36:21 +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