Commit Graph

1785 Commits

Author SHA1 Message Date
Bnyro
4beb77fb11 Cleanup with some when expressions 2023-01-22 19:35:36 +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
5d3e54852d Add default values for the channel fields without existing defaults. 2023-01-22 17:05:37 +05:30
Isira Seneviratne
e96f36f277 Allow null bannerUrl values. 2023-01-22 16:27:14 +05:30
Isira Seneviratne
16922455d0 Use OnBackPressedDispatcher.addCallback() extension. 2023-01-22 06:06:29 +05:30
Isira Seneviratne
b2e32105d3 Use bundleOf(). 2023-01-22 05:14:25 +05:30
Bnyro
dd1821ada3
Merge pull request #2755 from Isira-Seneviratne/KotlinX_Serialization
Switch to Kotlinx Serialization.
2023-01-21 18:59:56 +01:00
Bnyro
a5304e3135
Merge pull request #2802 from Bnyro/master
[Audio Player] Auto scroll the title and uploader
2023-01-21 18:45:04 +01:00
Bnyro
c3b08ef5f6 Improve behavior when seeking to next video 2023-01-21 18:44:45 +01:00
Bnyro
f2fce67454 [Audio Player] Auto scroll the title and uploader 2023-01-21 18:31:50 +01:00
Bnyro
2adc8380fd
Merge pull request #2799 from Bnyro/master
[Audio player] Indefinite progress while loading thumbnails
2023-01-21 18:21:29 +01:00
Bnyro
00cf7d89d5 [Audio player] Indefinite progress while loading thumbnails 2023-01-21 18:20:45 +01:00
Bnyro
6b9bd70dba
Merge pull request #2796 from Bnyro/master
Remember position when switching from audio to video mode
2023-01-21 18:01:42 +01:00
Bnyro
9650f32f67 Remember position when switching from audio to video mode 2023-01-21 18:01:08 +01:00
Isira Seneviratne
56763ec1a9 Merge branch 'master' into KotlinX_Serialization
# Conflicts:
#	app/src/main/java/com/github/libretube/ui/adapters/SearchAdapter.kt
2023-01-21 17:24:37 +05:30
Bnyro
7a65a477d9
Merge pull request #2790 from Bnyro/master
Apply the remembered playback params for all players
2023-01-21 12:07:56 +01:00
Bnyro
79fab618df Apply playback params for all players 2023-01-21 12:07:28 +01:00
Bnyro
b03d080316 Use the same playback speed for background and video mode 2023-01-21 11:59:44 +01:00
Bnyro
ecabc7348c Fix crash when removing callbacks 2023-01-21 11:57:43 +01:00
Bnyro
33d09eb251
Merge pull request #2789 from Bnyro/master
[Audio Mode] Share, playback, queue and open video controls
2023-01-21 11:54:28 +01:00
Bnyro
ee0607fb07 Add control to open the video from the audio player 2023-01-21 11:53:52 +01:00
Bnyro
7ffe3a6ed9 [Audio Mode] Share, playback and queue controls 2023-01-21 11:46:56 +01:00
Bnyro
497bc9c2dd
Merge pull request #2788 from Bnyro/master
Fix the notification thumbnail vanishing
2023-01-21 11:24:48 +01:00
Bnyro
a5c3132916 Fix the notification thumbnail vanishing 2023-01-21 11:24:25 +01:00
Bnyro
2acd53515c
Merge pull request #2787 from Bnyro/master
Fix queue starts wrong video after reordering
2023-01-21 11:20:04 +01:00
Bnyro
c2f0d68ddf Fix queue starts wrong video after reordering 2023-01-21 11:19:47 +01:00
Bnyro
1d7f9b2f60
Merge pull request #2786 from Bnyro/master
Don't hide player controls when touching 'em
2023-01-21 11:14:26 +01:00
Bnyro
00c607db49 Don't hide player controls when touching 'em 2023-01-21 11:13:58 +01:00
Bnyro
e3ad011de6
Merge pull request #2785 from Bnyro/master
Fix the different colors of navigation and bottom bar
2023-01-21 11:08:39 +01:00
Bnyro
87519742da Use the same elevation for nav and bottom bar 2023-01-21 11:08:32 +01:00
Bnyro
c01cee3f83 Use a lower elevation for the navigation bar 2023-01-21 11:06:16 +01:00
Bnyro
ebfb5c70fc
Merge pull request #2784 from Bnyro/master
Fix that live videos are tagged as shorts
2023-01-21 11:03:58 +01:00
Bnyro
cf5ef1292f Use isShort to display the shorts label 2023-01-21 11:03:24 +01:00
Bnyro
4c60035c0f
Merge pull request #2783 from Bnyro/master
Apply top bar for vertical fullscreen too
2023-01-21 10:58:21 +01:00
Bnyro
089e72b0c7 Apply top bar for vertical fullscreen too 2023-01-21 10:57:43 +01:00
Isira Seneviratne
e00b0c8263 Use Kotlinx Serialization with the subscription import/export functionality. 2023-01-21 10:32:08 +05:30
Isira Seneviratne
554fe0c3bf Use ViewCompat.getRootWindowInsets(). 2023-01-21 07:01:28 +05:30
Isira Seneviratne
187c7ac0e9 Merge branch 'master' into KotlinX_Serialization
# Conflicts:
#	gradle/libs.versions.toml
2023-01-21 04:50:23 +05:30
Bnyro
e4cbb2b90c Fix the extra padding for the vertical plaeyr 2023-01-20 19:39:51 +01:00
Bnyro
3cef897e89 Hide system bars on shorts 2023-01-20 19:31:18 +01:00
Bnyro
c1c0e5f6f1 Only show extra padding when there's a notch 2023-01-20 19:00:49 +01:00
Bnyro
fbf9c30e9a Hide the status bar when hiding the controllers 2023-01-20 18:49:53 +01:00
Bnyro
3da6b0678a Keep space for the status bar in player 2023-01-20 18:48:29 +01:00
Bnyro
8431716a14 Use custom animation handlers for player controls 2023-01-20 18:34:11 +01:00
Bnyro
6599635756 Only auto enter PiP when enabled 2023-01-20 17:56:49 +01:00
Isira Seneviratne
61fba85afd Merge branch 'master' into KotlinX_Serialization 2023-01-20 08:50:06 +05:30
Isira Seneviratne
07b59e1de0 Avoid type issues when restoring a backup. 2023-01-20 04:45:55 +05:30
Isira Seneviratne
e0702c027d Make some properties read-only. 2023-01-19 22:20:21 +05:30
Bnyro
e1e4b2a2c9 Run `ktlint --android -F 2023-01-19 17:49:04 +01:00