Commit Graph

173 Commits

Author SHA1 Message Date
Bnyro
315f596776 refactor: move constants into the files they're actually used in 2023-09-10 12:51:03 +02:00
Bnyro
5989523dd3 fix: properly kill offline player notification 2023-09-08 16:24:55 +02:00
Isira Seneviratne
77a756d5c5 refactor: Simplify router URL resolution 2023-09-06 09:04:16 +05:30
FineFindus
03d598a559
style: run ktlint 2023-08-21 20:09:34 +02:00
Bnyro
8921265493 fix: restore pause on quit functionality 2023-08-20 17:34:14 +02:00
Bnyro
fe100ad581 chore: only show subscriptions count when subs are visible 2023-08-06 13:33:02 +02:00
Bnyro
1e22fab499 feat: preference to force landscape as orientation 2023-08-06 12:39:52 +02:00
Bnyro
c253a4e415 fix: show search history when clearing query 2023-08-06 11:26:31 +02:00
Bnyro
f938a7dfc5 fix: crash when closing player via x on top left 2023-08-05 19:04:20 +02:00
Bnyro
f2c2834e3f fix: crash when download file doesn't exist 2023-08-05 10:21:26 +02:00
Bnyro
3495649669 fix: respect preference to not start playing automatically everywhere 2023-08-04 18:38:45 +02:00
Bnyro
05fa57b912 refactor: replace View#setVisibility with kotlin visibility extension 2023-08-03 14:53:09 +02:00
Bnyro
3a106c449b chore: remove unneeded type annotations 2023-08-03 14:39:35 +02:00
Bnyro
ebca7d5daf feat: search intent support 2023-07-31 14:56:35 +02:00
Bnyro
84bcd28c2a feat: seekbar preview for downloaded videos 2023-07-29 18:00:30 +02:00
Bnyro
0c43d208b9 feat: support for video tags 2023-07-29 16:59:56 +02:00
IndusAryan
ce8ceff455 fix(deps): update navigation to v2.6.0 2023-07-29 12:54:19 +02:00
Bnyro
a7d2974921 fix: show progress bar while search in progress 2023-07-29 11:58:57 +02:00
Bnyro
5bb076c94f refactor: cleanup subscriptions fragment 2023-07-20 10:57:09 +02:00
Bnyro
88acb79725 chore: Minor code cleanups and use #toUri instead of Uri#parse 2023-07-11 12:46:29 +02:00
Bnyro
47aaeda64b
Merge pull request #4205 from Bnyro/master
chore: Add lemmy community to help activity, remove telegram
2023-07-11 11:09:34 +02:00
Bnyro
04b6adadd9 Add lemmy community to help activity, remove telegram 2023-07-11 11:09:00 +02:00
Isira Seneviratne
06714c8e45 Use ViewModel extension in the main activity 2023-07-08 07:20:43 +05:30
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