Tobi
e45f3b86bf
Merge pull request #6242 from evermind-zz/fixes-for-upstream
...
fix Rotation crash on „Video not available“ page (#5941 )
2021-06-03 12:22:23 +02:00
Stypox
ae3a9aecfb
Sort tags in metadata section
2021-06-02 21:23:42 +02:00
Stypox
a98c0cc61d
Use chips to show tags in metadata section
...
Clicking on chips opens the search fragment
Long clicking copies to clipboard
2021-06-02 16:15:02 +02:00
Stypox
aab4416947
Add button to allow selecting text in the description
...
Since now selection is disabled by default, this fixes #5453
2021-06-02 14:36:34 +02:00
Stypox
c49df41126
Allow copying metadata to clipboard
2021-06-02 14:19:25 +02:00
Stypox
4919161754
Show video metadata below the decription
2021-06-02 14:19:25 +02:00
XiangRongLin
af92c3ed4f
Annotate methode parameters as NonNull
2021-05-31 15:09:57 +02:00
XiangRongLin
c3d9c4bb3f
Commit path immediately when import backup
2021-05-31 12:40:14 +02:00
XiangRongLin
a4bc61a7d0
Set ImportExportDataPath only on successful import
...
Also set the folder instead of the file itself as path
2021-05-31 12:38:21 +02:00
XiangRongLin
372d7a7832
Set ImportExportDataPath only on successful export
2021-05-31 12:36:21 +02:00
Tobi
efaea39ecc
Merge pull request #6118 from sauravrao637/errorHandlingInSubcribe
...
Error handling in subscribe() in DownloadDialog
2021-05-29 11:30:36 +02:00
Tobi
6b70576d87
Merge pull request #6353 from Imericxu/fix-pasting-rich-text-in-search
...
Fix unwanted rich text formatting when pasting
2021-05-29 09:12:07 +02:00
Tobi
5438064555
Merge pull request #6385 from sauravrao637/6371
...
Option for download is redundant and thus removed when linkType is CHANNEL or PLAYLIST
2021-05-28 14:23:04 +02:00
camo0112
46e41ab913
Option for download is redundant and thus removed when linkType is CHANNEL or PLAYLIST
2021-05-28 03:38:53 +05:30
Zhiheng Xu
8b6da2f3ba
Simplify code
2021-05-26 12:01:58 -04:00
Zhiheng Xu
0bb046dc7b
Add comment
2021-05-26 12:01:58 -04:00
Zhiheng Xu
0e2f4f1922
Add formatting removal on paste for search
...
Closes #5912
2021-05-26 12:01:58 -04:00
Eric Xu
ad2e1dcf03
Add PlaylistTab.hashCode() matching equals
2021-05-26 12:01:30 -04:00
Eric Xu
9b4c7e6644
Refactor PlaylistTab.equals
2021-05-26 12:01:30 -04:00
Eric Xu
6ab457e51c
Add ChannelTab.hashCode() matching equals
2021-05-26 12:01:30 -04:00
Eric Xu
346df8a36c
Refactor ChannelTab.equals
2021-05-26 12:01:30 -04:00
Eric Xu
68f8c38445
Add KioskTab.hashCode() matching equals
2021-05-26 12:01:30 -04:00
Eric Xu
154e672c91
Refactor KioskTab.equals
2021-05-26 12:01:30 -04:00
Eric Xu
fe5e1df9c2
Add Tab.hashCode() to go with equals
2021-05-26 12:01:30 -04:00
Eric Xu
12425eaadc
Refactor equals method
2021-05-26 12:01:30 -04:00
Zhiheng Xu
acbe0bfc94
Change shuffle() guard to check for size <= 2
...
After testing the app, I realized that shuffling a queue with size 2
does nothing
2021-05-24 12:20:19 -04:00
Zhiheng Xu
6da5d1585d
Remove redundant clearing of list
2021-05-24 12:20:19 -04:00
Zhiheng Xu
e29058412e
Refactor shuffle and update documentation
...
- Add early return for invalid sizes to shuffle
- Rename variables to be more descriptive
- Refactor moving list element, removing unnecessary operations
- Unwrap if clause for adding to history because the condition is
guaranteed by the guard clause
- Inline the value 0 for the ReorderEvent
- Update documentation to reflect new changes
2021-05-24 12:20:19 -04:00
Eric Xu
3a8aa90c72
Rearrange fields
...
Final fields should be arranged first
2021-05-24 12:20:19 -04:00
Eric Xu
158791043e
Resolve TODO in indexOf(...)
...
PlayQueueItem overrides equals and hashCode, so using indexOf is
perfectly fine.
2021-05-24 12:20:19 -04:00
Eric Xu
784c78c89e
Rewrite setIndex(int) to pass unit tests
...
Original did not cover the case of when streams is empty and
documentation does not specify any input restrictions.
There's an ambiguity with broadcasting an event between the
documentation and the actual code (see TODO).
2021-05-24 12:20:19 -04:00
Eric Xu
55da632641
Refactor assignments to field declaration
...
Assignments that don't require the constructor can be moved out.
2021-05-24 12:20:19 -04:00
Eric Xu
78ff6485a2
Add hashCode() to match equals(other)
2021-05-24 12:20:19 -04:00
Eric Xu
61e2ab4d80
Refactor streams to initialize with values
2021-05-24 12:20:19 -04:00
Eric Xu
8b2b3f8fe2
Refactor ArrayList fields to List
2021-05-24 12:20:19 -04:00
Eric Xu
b4b6726ec8
Refactor and optimize equals
...
- Remove multiple casts of obj
- Simply use object equals on the streams because PlayQueueItem’s
equals already compares urls
2021-05-24 12:20:19 -04:00
TobiGr
14a6130a44
Add support for PeerTube HLS streams
2021-05-23 11:53:35 +02:00
XiangRongLin
51026f6450
Merge pull request #6319 from ATofighi/feat-6039-store-backup-location
...
Save backup import/export location for future import/exports
2021-05-21 21:08:33 +02:00
Alireza Tofighi
2877c43ecb
Invert if condition in ContentSettingsFragment.setImportExportDataPath for better readability
2021-05-21 20:24:57 +04:30
Alireza Tofighi
15873d53c4
Move ContentSettingsFragment.isValidPath to helpers and add unit test for it.
2021-05-21 20:21:58 +04:30
Alireza Tofighi
01f05e2f46
Save backup import/export location for feature import/exports
2021-05-17 21:57:27 +04:30
XiangRongLin
4a6ee0cea5
Merge pull request #6308 from mhmdanas/make-minor-changes
...
Make some minor changes
2021-05-17 12:14:00 +02:00
XiangRongLin
0458e05fb9
Merge pull request #6312 from ATofighi/fix-6298-report-page-back-not-working
...
Fix ErrorActivity actionbar back button not working
2021-05-17 12:12:12 +02:00
Isira Seneviratne
31eb99034f
Convert Converters to a Kotlin object.
2021-05-16 11:14:15 +05:30
Isira Seneviratne
0755c854db
Rename .java to .kt
2021-05-16 11:14:15 +05:30
Alireza Tofighi
5604194123
Fix ErrorActivity actionbar back button not working
...
The issue is because of R.id.home != android.R.id.home
2021-05-16 02:19:52 +04:30
mhmdanas
d35974a352
Put show channel details option in more long-press menus
2021-05-15 19:20:27 +03:00
mhmdanas
1f98ef54de
Make some minor changes
2021-05-15 18:48:16 +03:00
Robin
6debb784b7
TEST: Downgrade ExoPlayer to 2.12
2021-05-14 14:47:53 +02:00
Robin
c1dc93e2d7
Fixed checkstyle
2021-05-14 12:15:48 +02:00