Commit Graph

151 Commits

Author SHA1 Message Date
Bnyro
04b6adadd9 Add lemmy community to help activity, remove telegram 2023-07-11 11:09:00 +02:00
Bnyro
1e13586448 Simplify fetch and auth instance logic 2023-07-06 13:52:05 +02:00
Bnyro
eb1382e154 Fix auth api url when restoring backup in welcome page 2023-07-06 13:47:03 +02:00
Isira Seneviratne
8a9de45f83 Remove view binding class variable. 2023-07-03 05:00:49 +05:30
Isira Seneviratne
81735de2fa Use viewModels extension. 2023-07-03 04:51:37 +05:30
Bnyro
ee302dc166 [Welcome Activity] Add button to restore backup and skip instance selection 2023-06-27 11:12:43 +02:00
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Bnyro
f71c416a7d Fix issues with welcome activity landscape layout 2023-06-19 14:48:28 +02:00
Isira Seneviratne
edd97edf17 Fix lint issues. 2023-06-18 07:47:14 +05:30
Isira Seneviratne
5bb4f303b0 Add PlayerData class. 2023-06-17 19:04:19 +05:30
Bnyro
76da6c2fc1 Show minimized audio player when starting backround mode 2023-06-14 09:46:39 +02:00
Bnyro
be491f8a27 Simplify logic to minimize mini player 2023-06-14 09:37:09 +02:00
Bnyro
108b4c5f79 Improve welcome screen in landscape: remember selection and scrollable 2023-06-12 20:07:18 +02:00
Bnyro
44d54d37c1 Code refactor: Separate online and offline player 2023-06-11 14:18:52 +02:00
Bnyro
2a4aad88ee Show status bar automatically with controls in offline player 2023-06-09 09:53:00 +02:00
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