Profpatsch
cbade0b54d
PlayerUiList: guard list actions with mutex
...
The new implementation would throw `ConcurrentModificationExceptions`
when destroying the UIs. So let’s play it safe and put the list behind
a mutex.
Adds a helper class `GuardedByMutex` that can be wrapped around a
property to force all use-sites to acquire the lock before doing
anything with the data.
2024-12-26 15:53:36 +01:00
Profpatsch
5b92de4f76
PlayerUIList: rename get to getOpt and make get nullable
...
In Kotlin, dealing with nulls works better so we don’t need optional.
2024-12-26 12:50:33 +01:00
Profpatsch
6830890f98
PlayerUIList: transform to kotlin
...
And simplify the code a little
2024-12-26 12:39:20 +01:00
Isira Seneviratne
fbafdeb2ca
Merge pull request #11767 from tsiflimagas/remove_viewpager2
...
Remove ViewPager2 dependency
2024-12-17 08:49:01 +05:30
Kostas Giapis
781040efaa
Remove ViewPager2 dependency
2024-12-01 22:24:39 +02:00
Stypox
3f7ef49979
NewPipe license is GPLv3-or-later, not -only, in AboutScreen
2024-11-27 22:15:23 +01:00
Stypox
dab0148a78
Merge pull request #11750 from Isira-Seneviratne/Fix-image-loading
...
Fix image loading
2024-11-27 16:50:38 +01:00
Stypox
c0c08a4f63
Merge pull request #11282 from Isira-Seneviratne/About-Compose
...
Migrate about activity to Jetpack Compose
2024-11-27 16:42:35 +01:00
Stypox
aaf337421d
Merge branch 'refactor' into pr11282
2024-11-27 16:20:49 +01:00
Stypox
79a0edacd7
Merge pull request #11752 from JL0000/sort-dependencies
...
Sort dependencies in `libs.versions.toml`
2024-11-27 16:10:31 +01:00
Stypox
d56eef6ece
Use content padding instead of padding on container
2024-11-27 15:59:20 +01:00
Stypox
72f054a4fa
Library should not be clickable if spdx is blank
2024-11-27 15:46:39 +01:00
Jie Li
172c3c92ac
gradle script to enforce dependencies order
2024-11-26 18:32:44 +00:00
Isira Seneviratne
137ef3fee4
Fix image loading
2024-11-26 10:08:27 +05:30
Stypox
e49156fb11
Merge pull request #11684 from JL0000/version-catalogs
...
Migrate build to version catalogs
2024-11-25 19:05:52 +01:00
Jie Li
de5d45849f
migrated to version catalogs
2024-11-25 23:12:29 +05:30
Stypox
a25034b898
Fix toolbar colors in light theme
2024-11-25 04:43:43 +01:00
Stypox
ae9e82b2c1
Implement showing libraries and licenses
2024-11-25 04:43:43 +01:00
Stypox
a70b38a8e5
Minor updates to some libraries
2024-11-25 03:56:13 +01:00
Stypox
0cff3a6ecd
Improve AboutTab spacing
2024-11-24 16:06:21 +01:00
Profpatsch
9b78e49e45
Merge pull request #11725 from Profpatsch/lwj.compose_migrate_empty_state_view
...
Migrate empty_state_view xml/view to Jetpack Compose
2024-11-22 11:49:22 +01:00
Isira Seneviratne
4e55f1bee6
Merge branch 'refactor' into About-Compose
2024-11-21 21:11:52 +05:30
Stypox
cff3834fde
Fix setEmptyStateComposable dark theme
2024-11-21 13:17:33 +01:00
Stypox
c8b01a06b0
Use empty state view in compose
2024-11-21 13:14:39 +01:00
Stypox
414b1a8344
Remove unused methods in EmptyStateUtil
2024-11-21 13:14:19 +01:00
Stypox
404d9f3fac
Use empty state view in a few more places
2024-11-21 12:42:58 +01:00
Stypox
55e4014036
Use custom EmptyStateSpec for bookmark fragment
2024-11-21 12:24:11 +01:00
Stypox
1cd5563b27
All empty states now have the same style
2024-11-21 12:14:40 +01:00
Stypox
1abced992b
Use normal colors for empty state view
2024-11-21 12:07:03 +01:00
Stypox
46b9243661
Remove unneeded empty state changes in ChannelFragment
2024-11-21 11:53:48 +01:00
toliuweijing
ad72b2cb31
boost error hint color
2024-11-21 11:52:42 +01:00
toliuweijing
8b79d0ee29
Migrate empty_state_view to Jetpack Compose
2024-11-21 11:52:42 +01:00
Stypox
295f719b77
Merge pull request #11723 from Isira-Seneviratne/Coil-3
...
Migrate to Coil 3
2024-11-21 10:56:07 +01:00
Stypox
b584353f4d
Small fixes to code style
2024-11-21 10:52:15 +01:00
Isira Seneviratne
d73314b4dd
Make App instance variable immutable outside class
2024-11-21 08:09:57 +05:30
Isira Seneviratne
9f4a33c7a8
Fix lint
2024-11-21 06:56:10 +05:30
Isira Seneviratne
3a9540b042
Update app/src/main/java/org/schabi/newpipe/App.kt
...
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-11-20 16:04:39 +05:30
Isira Seneviratne
ca855cbca0
Migrate to Coil 3
2024-11-20 09:28:20 +05:30
Isira Seneviratne
6a98b1dac7
Rename .java to .kt
2024-11-20 08:44:16 +05:30
Isira Seneviratne
7d4a2836fc
Use existing scrollbar theme method
2024-11-16 16:45:35 +05:30
Isira Seneviratne
226b6de34f
Merge branch 'refs/heads/refactor' into About-Compose
...
# Conflicts:
# app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt
# build.gradle
2024-11-16 15:41:50 +05:30
Stypox
13585ca0be
Avoid drawing surface background twice for comments fragment
2024-11-11 16:15:36 +01:00
Stypox
62ab9bd740
Merge pull request #11060 from Isira-Seneviratne/Comments-Compose
...
Migrate comment fragments to Jetpack Compose
2024-11-11 16:12:53 +01:00
Stypox
fdf36cbad6
Deduplicate and improve Scrollbar theme
2024-11-11 15:20:38 +01:00
Stypox
aea2b7c7f3
Show correct reply count in dialog
2024-11-11 14:58:54 +01:00
Stypox
37d1c784fa
Create utilities to copy to clipboard in Compose code
2024-11-11 14:58:54 +01:00
Stypox
cea149f852
Add .kotlin/ to gitignore
2024-11-11 14:26:01 +01:00
Stypox
a92a28517e
Use Icons.Default.* instead of vector assets
2024-11-11 14:25:28 +01:00
Stypox
800961c3d7
Unexpand bottom sheet dialog when clicking on a channel
2024-11-11 13:51:24 +01:00
Stypox
9d8a79b0bd
Slightly improve comment replies header spacing
2024-11-11 13:34:18 +01:00