Commit Graph

378 Commits

Author SHA1 Message Date
Faisal Khan
5eddd63ed3
Removes callbacks when player fragment is destroyed. (#3073)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.

* Fixes: Labels under icons are not visible

* Minor player controls UI improvements

* Removes callbacks when player fragment is destroyed.

---------

Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-02-14 15:35:07 +01:00
Faisal Khan
c199d35913
Fixes: Labels under icons are not visible (#3066)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.

* Fixes: Labels under icons are not visible

* Minor player controls UI improvements

---------

Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-02-14 11:35:24 +01:00
Isira Seneviratne
b99fb04cbd Simplify getAvailableResolutions(). 2023-02-14 06:55:46 +05:30
Faisal Khan
6053eae99b
Filter out null comments returned from Piped API. (#3061)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.
2023-02-13 18:08:56 +01:00
Bnyro
582ab70bd1
Merge pull request #3053 from Isira-Seneviratne/Search_binding
Use view binding extensions in the search fragments.
2023-02-13 15:44:02 +01:00
Isira Seneviratne
5030453db4 Use view binding extensions in the search fragments. 2023-02-13 12:00:02 +05:30
Isira Seneviratne
0bea476772 Use view binding extensions in PlayerFragment. 2023-02-13 07:18:58 +05:30
Bnyro
f0857633e9 Fix compatibility with previous backups 2023-02-12 17:42:51 +01:00
Bnyro
59a1378531 Handle errors properly on home fragmemt 2023-02-12 16:01:51 +01:00
Bnyro
883f14fd56 Improve home page loading behavior 2023-02-12 15:48:38 +01:00
Bnyro
e4627fd156 Fix SponsorBlock segment loop at end of video 2023-02-12 13:27:35 +01:00
Bnyro
9746d5a5fd Refactor the SponsorBlock segment handling 2023-02-12 13:17:44 +01:00
Bnyro
7648f1822f Option to disable watch positions in audio mode 2023-02-12 12:55:31 +01:00
Bnyro
80be666b48 Button to quit the audio mode 2023-02-12 12:39:56 +01:00
Isira Seneviratne
a0408840c4 Release view bindings in SearchResultFragment. 2023-02-12 16:40:44 +05:30
Isira Seneviratne
cec4f4da66 Release view bindings in SearchFragment. 2023-02-12 15:50:18 +05:30
Isira Seneviratne
f155bf8751 Convert DatabaseHolder to an object. 2023-02-12 05:44:22 +05:30
Bnyro
a051d70f48 Fullscreen swipe gestures 2023-02-10 18:53:36 +01:00
Bnyro
61334db826 Option to mark videos as watched 2023-02-10 18:10:17 +01:00
Isira Seneviratne
fdc17d6dfd Convert WatchHistoryDao methods to suspend functions. 2023-02-10 06:50:09 +05:30
Bnyro
ccc27c255d Fix the time stamp parsing in the PlayerFragment 2023-02-08 10:38:28 +01:00
Bnyro
fb0054d15e Fix the downloads empty indicator 2023-02-07 19:36:59 +01:00
Bnyro
b5e7aeb5cd Convert delete download dialog to confirmation dialog 2023-02-07 19:31:43 +01:00
Isira Seneviratne
73f488e3d2 Convert CronetHelper to an object. 2023-02-06 05:29:49 +05:30
Bnyro
da8b383153
Merge pull request #2968 from Isira-Seneviratne/ListAdapter_search
Convert SearchAdapter to a ListAdapter.
2023-02-05 11:13:18 +01:00
Isira Seneviratne
a90d22f111 Use Fragment transaction extensions. 2023-02-05 09:02:59 +05:30
Isira Seneviratne
3b6ccdb91d Convert SearchAdapter to a ListAdapter. 2023-02-05 06:01:12 +05:30
faisalcodes
e584d7bed5 Follow-up to #2929. Simplified layouts. 2023-02-01 22:32:28 +05:30
Bnyro
1403c3bc1c Play and pause the video on single touches 2023-01-31 18:08:37 +01:00
Bnyro
288067b044 [Audio Player] Volume controls 2023-01-31 17:57:24 +01:00
Bnyro
38859c43f6 [Audio player] Swipe listener 2023-01-31 17:34:40 +01:00
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Bnyro
cb88ae9eea
Merge pull request #2910 from faisalcodes/master
Added the original comment as the first item in replies.
2023-01-30 16:57:42 +01:00
Bnyro
c405ca08f0 Remove unused expression 2023-01-30 16:57:08 +01:00
Bnyro
ec25173503 Fix that multiple comments are hightlighted sometimes 2023-01-30 16:44:50 +01:00
Bnyro
758f559811 Minor UI improvements and code cleanup 2023-01-30 16:39:05 +01:00
Isira Seneviratne
02d9aa5655 Use take() extension. 2023-01-30 20:44:26 +05:30
Bnyro
259a1c1400
Merge pull request #2904 from praveenrajput/master
Closes comments on auto play video change. Fixes #2898
2023-01-30 13:59:35 +01:00
faisalcodes
bb784f5880 ktlint 2023-01-30 12:16:35 +05:30
faisalcodes
042cf26c1c Added the original comment as first item in replies. 2023-01-30 12:03:10 +05:30
Isira Seneviratne
96c41927fd Use Handler.postDelayed() extension to put the lambdas outside parentheses. 2023-01-30 08:36:44 +05:30
Praveen Rajput
9eafffe712 Closes comments on auto play video change. Fixes #2898 2023-01-29 21:52:37 +05:30
Bnyro
aee24d11d5 Fix watching unprocessed livestreams 2023-01-29 14:55:17 +01:00
faisalcodes
4b395e0372 Fixes #2878 : Using multi-level comments display. 2023-01-28 23:42:51 +05:30
Bnyro
326df3970a
Merge pull request #2880 from Bnyro/master
Don't kill the app when closing through PiP
2023-01-27 16:33:10 +01:00
Bnyro
34c0d8d72e Fix unresponsive screen when closing through PiP 2023-01-27 16:32:45 +01:00
Bnyro
a3e0c40a0f Don't kill the app when closing through PiP 2023-01-27 16:29:59 +01:00
Bnyro
bf7f855c7a
Merge pull request #2873 from Isira-Seneviratne/updateLayoutParams
Use View.updateLayoutParams() extensions.
2023-01-26 13:44:06 +01:00
Isira Seneviratne
738f943a13 Use View.updateLayoutParams() extensions. 2023-01-26 08:58:12 +05:30
Isira Seneviratne
b9c1b00ae5 Use parseAsHtml() extension. 2023-01-26 07:20:16 +05:30