Commit Graph

136 Commits

Author SHA1 Message Date
Bnyro
44b893ba96 Fix offline player bottom padding 2023-06-09 09:35:21 +02:00
Bnyro
01c2c60bdc Display video title when watching downloaded video 2023-06-09 09:34:11 +02:00
Bnyro
50a695a906 Add Welcome Activity to show on first app startup 2023-06-03 21:30:46 +02:00
Sajal Raj Gautam
351a59c7af Enable auto rotate by default for TV
Set auto-rotation ON by default for TV
2023-05-26 20:53:40 +05:30
Sajal Raj Gautam
edf487c97d Fix search bar collapse while search in progress
This is an AOSP bug where destroy of fragment calls
invalideMenu of Activity even though the fragment does
not participate in menu updates.

https://issuetracker.google.com/issues/244336571

Hence added an workaroud to not invalidate menu when
search is in progress.
2023-05-26 10:07:43 +05:30
Bnyro
c6c36145a1
Merge pull request #3822 from SajalRG/search-collapse-fix
Disable search closing when user press back while playing video
2023-05-24 15:28:27 +02:00
Sajal Raj Gautam
eeeca08910 Disable search closing when user press back while playing video
Issue #1965:
* Search for something
* Play the video
* Clicking back btn would close the search also

Fix:
Disable auto close of search in onMenuItemActionCollapse method call.
Search will close when search fragment is removed.

Known Issues:
Search will still close when player fragment is closed.
2023-05-24 11:30:56 +05:30
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
4652b36a9a
Merge pull request #3773 from Bnyro/master
Deselect all bottom nav items when home tab not among them
2023-05-15 14:27:10 +02:00
Bnyro
f29013427c Deselect all bottom nav items when home tab not among them 2023-05-15 14:27:13 +02:00
Bnyro
cd12dbd7db Merge AGP_8.0 with upstream and fix some deprecations 2023-05-10 19:39:37 +02:00
Bnyro
ffb31c3fc7 Fix CI builds by migrating the code to ktlint 0.49.0 2023-05-09 18:41:05 +02:00
Bnyro
c0a1deaa8a Add button to close audio player 2023-05-08 17:24:59 +02:00
ARBoyGo
50258b97a9
[Help section] Remove Reddit and Discord (#3644) 2023-04-27 17:24:21 +02:00
Isira Seneviratne
cf179fd7e9 Switch to non-transitive R classes. 2023-04-18 06:42:45 +05:30
Isira Seneviratne
7bea6fdebd Improve notification grouping for new streams. 2023-04-11 21:20:08 +05:30
Isira Seneviratne
0cce8e4c9b
Merge pull request #3528 from Isira-Seneviratne/PictureInPictureCompat
Reuse PictureInPictureCompat method.
2023-04-11 18:35:20 +05:30
Isira Seneviratne
5c1a0a4e7a Reuse PictureInPictureCompat method. 2023-04-11 06:58:07 +05:30
Bnyro
dcdd1af176 Audio/background player for downloads 2023-04-10 15:54:09 +02:00
Bnyro
e7995b4bd9
In-built browser intent chooser (#3511)
Co-authored-by: Isira Seneviratne <31027858+Isira-Seneviratne@users.noreply.github.com>
2023-04-10 12:44:41 +02:00
Isira Seneviratne
b7f0bd7f5f Simplify isServiceRunning() method. 2023-03-31 08:57:53 +05:30
Bnyro
f9a25738cd Cleanup link handling in router activity 2023-03-28 18:23:41 +02:00
Bnyro
7a2f97de6d Support sharing live links to LibreTube 2023-03-28 18:17:12 +02:00
Isira Seneviratne
c513d7bd25 Add picture-in-picture helper classes. 2023-03-27 06:10:36 +05:30
Isira Seneviratne
0b2bd1f7d9 Convert timestamp parsing method to an extension function. 2023-03-25 06:23:52 +05:30
Bnyro
11dc261f91 Option for auto fullscreen on shorts 2023-03-24 16:02:56 +01:00
Bnyro
5b97c011da Audio mini player 2023-03-21 19:14:24 +01:00
Isira Seneviratne
13f8b3d49d Use java.nio.file APIs in download functionality. 2023-03-16 09:01:07 +05:30
Isira Seneviratne
4388743b6f Convert WindowHelper to an object. 2023-03-06 11:26:07 +05:30
Isira Seneviratne
d0ce0368c5 Report selected shortcut to the system. 2023-03-03 05:16:33 +05:30
Isira Seneviratne
d3c39ee3c2 Use Intent method chaining. 2023-02-25 12:56:20 +05:30
Isira Seneviratne
97107fa777 Use isEmpty() extension functions. 2023-02-24 08:11:11 +05:30
Bnyro
fa18d26b0f Disable platform diagnostics 2023-02-23 18:13:38 +01:00
Isira Seneviratne
c381437efd Convert DownloadDao methods to suspend functions. 2023-02-15 12:14:45 +05:30
Bnyro
4e9273f7cb Open audio player from three dot menu 2023-02-12 12:34:53 +01:00
Isira Seneviratne
f155bf8751 Convert DatabaseHolder to an object. 2023-02-12 05:44:22 +05:30
Bnyro
5992b0c567 Fix history showing up when clearing search query 2023-02-08 10:10:46 +01:00
Isira Seneviratne
a90d22f111 Use Fragment transaction extensions. 2023-02-05 09:02:59 +05:30
Isira Seneviratne
b2b444d3e5 Convert ClipboardHelper to an object.
Also improve some related code.
2023-02-03 14:47:09 +05:30
Bnyro
81568e2135 Cleanup common methods in the about and help acitvities 2023-02-01 18:49:59 +01:00
Bnyro
766c7c82d9 Cleanup the AboutActivity.kt 2023-02-01 18:45:40 +01:00
Bnyro
59a56f8467 Cleanup the HelpActivity.kt 2023-02-01 18:42:35 +01:00
Bnyro
4732ff2477 Help & About: Use icon without background 2023-02-01 18:36:39 +01:00
Bnyro
2cd8e7f7d8 Remove social media name strings from translations 2023-02-01 18:22:29 +01:00
Bnyro
288067b044 [Audio Player] Volume controls 2023-01-31 17:57:24 +01:00
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Bnyro
a04fb31947 Use Duration#parse for parsing timestamps 2023-01-22 19:45:25 +01:00
Bnyro
ff6a0f1138 Keep the screen on while playing in the offline player 2023-01-22 19:27:08 +01:00
Bnyro
f119e39a1e
Merge pull request #2814 from Isira-Seneviratne/addCallback
Use OnBackPressedDispatcher.addCallback() extension.
2023-01-22 15:48:06 +01:00
Isira Seneviratne
16922455d0 Use OnBackPressedDispatcher.addCallback() extension. 2023-01-22 06:06:29 +05:30