Commit graph

2642 commits

Author SHA1 Message Date
Stypox
aac5abedd0 Hide tab layout view pager on error 2021-02-14 13:40:17 +01:00
Stypox
e0ca7d6494 Fix tab layout visibility with age restricted videos
Add comments
2021-02-14 13:25:39 +01:00
Mikhail Barashkov
0569989126 Implement "pause/play" toggle on hardware keyboard space button. 2021-02-12 11:58:15 +03:00
karol
6de40e68a9 removed resizig text from popup player, as requested in #5514 2021-02-11 11:20:27 +01:00
mhmdanas
8ce697abec Remove License#contentUri
It seems to not be used anywhere.
2021-02-08 19:54:30 +03:00
mhmdanas
729e0b4f44 Remove unnecessary concat with empty string 2021-02-08 19:40:20 +03:00
Tobi
f106fc1245 Merge pull request #5464 from Stypox/fix-channel-subscribe-button
Fix channel subscribe button causing crash on closing
2021-02-03 09:24:26 +01:00
Tobi
31b0a93bcb Merge pull request #5474 from XiangRongLin/expires_header
Respect expires header when checking for new versions
2021-01-31 10:51:50 +01:00
TiA4f8R
6b5b6218c8 Fix some things in ShareUtils.java and do little improvements
Fix a bug in which NewPipe doesn't fall back to Google Play Store web url in InstallApp
Fusion getDefaultBrowserPackageName and getDefaultAppPackageName, rename openInDefaultApp to openAppChooser
Update some JavaDocs
2021-01-30 15:55:44 +01:00
XiangRongLin
0082c972cc Add comments explaining the expiry field
Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
2021-01-30 14:24:25 +01:00
XiangRongLin
9d72f029c2 Invert usage of manager.isExpired()
When it's expired it means, that the app should get the data. Meaning it should not abort prematurely by returning null.

Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
2021-01-30 09:32:17 +01:00
Stypox
e7226b4531 Set all default settings at the beginning 2021-01-28 18:28:29 +01:00
Stypox
3d6c34b896 Add Objects.requireNotNull to warning which is surely not null 2021-01-28 14:35:47 +01:00
Stypox
6d7e6d50b2 Remove useless getString for default setting value 2021-01-28 14:35:00 +01:00
Stypox
075e74073d Use PlayerHelper.retrieveResizeModeFromPrefs in Player 2021-01-28 14:33:50 +01:00
Stypox
e091a2ff36 Fix always minimizing to popup player 2021-01-28 14:33:12 +01:00
XiangRongLin
22dad3dc9d Respect expires header when checking for new version
It was called to many times and acted similar to a DOS attack.
2021-01-23 09:02:11 +01:00
Tobias Groza
37f0da0ebc Merge pull request #5458 from Stypox/fix-popup-x
Fix popup closing x button animation
2021-01-22 10:01:12 +01:00
Stypox
52ced8bf9c Fix channel subscribe button causing crash in main page tab
The binding was being set to null on onDestroyView() instead of in onDestroy()
2021-01-21 15:31:50 +01:00
Stypox
7bfb4104c8 Fix number being shown instead of corresponding string resorce in feed 2021-01-20 10:44:44 +01:00
Isira Seneviratne
a5402c13ff Convert the abstract class DAOs to interfaces. 2021-01-20 06:29:50 +05:30
Stypox
287324e455 Fix popup closing x button animation 2021-01-19 09:34:21 +01:00
TiA4f8R
26690d6233 Fix crash when no browser is present and use an ACTION_CHOOSER intent in the app update notification (#5429)
Fix crash when no browser is present and use an ACTION_CHOOSER intent for app update notification
Show a Toast when no app is present on user's device to open a content in an app and in a browser and use an ACTION_CHOOSER intent with the ACTION_VIEW intent put as an extra intent in the update notification.
2021-01-18 21:45:36 +01:00
XiangRongLin
99c3c49518 Merge pull request #5430 from Stypox/fix-feed
Fix reload feed button does nothing
2021-01-18 12:59:58 +01:00
Stypox
cd18def765 Refactor feed fragment 2021-01-18 11:43:05 +01:00
Stypox
f2789739e9 Fix reload feed button does nothing
initListeners was being called before the bindings were assigned, and therefore the click listener was never setup
2021-01-18 11:42:25 +01:00
XiangRongLin
f92e7ae794 Merge pull request #5442 from Stypox/fix-close-popup
Prevent IllegalArgumentException when closing popup
2021-01-18 09:39:02 +01:00
Stypox
1522eae016 Prevent IllegalArgumentException when closing popup 2021-01-18 08:27:49 +01:00
Stypox
64c7884850 Animate secondary controls toggle 2021-01-17 15:59:29 +01:00
Stypox
ff97338c11 Use KoreUtil function 2021-01-17 15:46:00 +01:00
Stypox
83b548da4b Hide tab layout in detail fragment when there is no space 2021-01-17 15:42:54 +01:00
Stypox
4c88c573ec Add content description to detail fragment tabs 2021-01-17 15:38:12 +01:00
Stypox
6d7ad35457 Add preference to hide description tab in video details 2021-01-17 15:36:42 +01:00
Stypox
923a68beaf Add icons to VideoDetailFragment tab layout for better accessibility 2021-01-17 15:34:24 +01:00
Stypox
8a4783f97b Move description to a tab alongside related streams and comments 2021-01-17 15:26:25 +01:00
Stypox
249ea33571 Add a secondary control panel to video detail fragment
It is shown when the user expands the description
It contains share, open in browser and play in kodi
2021-01-17 15:12:29 +01:00
Isira Seneviratne
8c73c2fe86 Use view binding in VideoDetailFragment. 2021-01-17 09:57:40 +05:30
Isira Seneviratne
7a0515210b Use the base Groupie library in ChannelItem. 2021-01-16 18:59:49 +05:30
Isira Seneviratne
fd0afee44d Fix some issues. 2021-01-16 18:59:48 +05:30
Isira Seneviratne
1104c5d279 Use BindableItem in PickerSubscriptionItem. 2021-01-16 18:59:45 +05:30
Isira Seneviratne
3aff4c1f63 Use BindableItem in PickerIconItem. 2021-01-16 18:55:42 +05:30
Isira Seneviratne
6d6a47104a Use BindableItem in HeaderWithMenuItem. 2021-01-16 18:55:42 +05:30
Isira Seneviratne
e30d2713a3 Use BindableItem in HeaderItem. 2021-01-16 18:55:41 +05:30
Isira Seneviratne
0d0849e46a Use BindableItem in FeedImportExportItem. 2021-01-16 18:55:41 +05:30
Isira Seneviratne
26fa7826b2 Use BindableItem in FeedGroupReorderItem. 2021-01-16 18:55:41 +05:30
Isira Seneviratne
8ec82e33e3 Use BindableItem in FeedGroupCarouselItem. 2021-01-16 18:55:40 +05:30
Isira Seneviratne
bb76d4b9bb Use BindableItem in FeedGroupCardItem. 2021-01-16 18:55:40 +05:30
Isira Seneviratne
07d6af8d83 Use BindableItem in FeedGroupAddItem. 2021-01-16 18:55:39 +05:30
Isira Seneviratne
f1e27623a3 Use BindableItem in EmptyPlaceholderItem. 2021-01-16 18:55:38 +05:30
Stypox
2f181dfc16 Move TextLinkifier computation out of main thread 2021-01-16 13:23:42 +01:00