arkon
28131ac135
Remove legacy settings sheet
...
The per-series settings aren't quite functional yet, but they're also
accessible outside of the sheet.
2023-07-15 11:14:18 -04:00
Two-Ai
35d381144d
Cleanup Preference.asHotFlow() ( #9257 )
...
* Drop duplicate initial call in Preference.asHotFlow
Preference.changes() always starts by returning the current value of
the preference, so asHotFlow calls block twice on the initial value.
Possible breaking change: As implemented, asHotFlow ran block(get())
before returning the flow. After this change, the first call to block
will run within the flow collection. This might cause concurrency
issues if the flow collection is late to execute.
* Inline Preference.asHotFlow
The Preference.changes().onEach().launchIn() pattern is used widely,
so the asHotFlow extension method is redundant.
2023-03-26 11:52:54 -04:00
arkon
1730dd6af1
Move more things around
2023-01-27 22:31:12 -05:00
arkon
69cdba71eb
Remove dead code
...
Mostly from settings rewrite, but some other things too.
2022-10-16 12:48:43 -04:00
Andreas
0086743a53
Use 1.x preference abstraction ( #8020 )
...
* Use 1.x preference abstraction
- Uses SharedPreferences compared to 1.x impl which uses DataStore but it breaks all settings screens currently
- Move PreferencesHelper to new PreferenceStore
- PreferencesHelper should be split into smaller preference stores and be in core or domain
- Remove flow preferences as new PreferenceStore handles changes for us
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com >
* Fix PreferenceMutableState not updating
* Fix changes not emitting on first subscription
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com >
2022-09-17 11:48:24 -04:00
arkon
9d28def387
Remove some dead code
2022-09-15 22:51:01 -04:00
arkon
d6f1534ee8
Address misc. build warnings
2022-08-10 23:26:34 -04:00
arkon
f6f5b6aeab
Fix library column setting jumping in
2022-07-16 18:26:30 -04:00
arkon
13943f77f7
Migrate extension details page to Compose
2022-05-15 16:35:33 -04:00
arkon
5afff31f72
Formatting
2022-04-08 16:44:23 -04:00
arkon
f0eb42e72d
Update linter
2022-04-08 15:30:39 -04:00
arkon
75a2110626
Update preference dependencies
2022-01-31 18:13:57 -05:00
arkon
47723042c5
Fallback to preference title if dialog title isn't set
2022-01-06 22:53:54 -05:00
arkon
78c2631b6f
Move preference extension functions to utils
2021-12-31 16:32:24 -05:00
arkon
2db2b7348d
Fix crash for bound intListPreferences
2021-12-26 15:44:34 -05:00
arkon
f3718257f5
Reduce redundancy in some preference declarations
...
The remaining ones could also be converted to FlowPreferences for this, but it's not really necessary.
2021-12-26 12:44:38 -05:00
arkon
b4ba56bfb4
Update dependencies
2021-11-18 10:42:09 -05:00
arkon
f343131802
Require authentication to toggle showing NSFW sources
2021-10-09 17:10:04 -04:00
Soitora
971d8a7e40
Allow preferences to multi-line ( #5905 )
2021-09-13 18:39:14 -04:00
Taco
12a9d0575d
Use more Compat utilities ( #5786 )
...
* Use ActivityCompat.recreate
* Use more KTX extensions
* Use PackageInfoCompat.getLongVersionCode
* Remove unnecessary compat usages
2021-08-27 16:33:12 -04:00
arkon
8bfc5f0450
Put Komga tracker in separate group
2021-07-18 12:55:55 -04:00
Ivan Iskandar
b5a700276a
Remove top margin of PreferenceCategory if no title set ( #5168 )
2021-05-24 09:10:13 -04:00
arkon
c4b975b777
Cleanup reader spinner layouts
2021-03-27 17:59:52 -04:00
arkon
64c47bbaed
Split general and reading mode sheet settings
2021-03-26 22:31:21 -04:00
arkon
9bb2334b69
Replace VectorDrawableCompat.create() with AppCompatResources.getDrawable()
...
Fixes crash when loading pin icon in Android 5/6.
2020-07-29 18:36:28 -04:00
arkon
ca7373c28b
Make extension settings button inline
2020-06-06 14:36:04 -04:00
arkon
436253dd63
Add more info in tracking settings section
2020-05-09 12:41:10 -04:00
arkon
90ce89193d
Add logo header in more section
2020-04-27 22:48:25 -04:00
arkon
d593362ba8
Merge sources and extensions into one view
2020-04-27 19:16:46 -04:00
arkon
fdc7981d18
Tweak webtoon margin setting
2020-04-10 11:45:30 -04:00
arkon
145a744ce0
Merge branch 'feature/webtoon-margins' of git://github.com/jleehey/tachiyomi into jleehey-feature/webtoon-margins
...
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/util/preference/PreferenceDSL.kt
# app/src/main/res/values/strings.xml
2020-04-10 11:14:09 -04:00
arkon
6da350aee6
Minor extension update cleanup, default to on
2020-03-20 22:59:59 -04:00
Jays2Kings
9585f9a1a6
Option to auto check for extension updates ( #2680 )
...
* Option to auto check for extension updates
* Addressing comments
* Added foreground check for extensions
* Added Extension Preference widget
2020-03-20 22:22:39 -04:00
arkon
0f2d480036
More linting fixes
2020-02-26 18:12:44 -05:00
arkon
3ecc883944
Run default Android Studio formatter on code
2020-02-17 17:23:37 -05:00
arkon
f3adff1da1
Move PreferenceDSL
2020-02-04 22:19:17 -05:00