Commit graph

110 commits

Author SHA1 Message Date
arkon
9ba11a585f Adopt tab/controller transitions from SY
Original author: @jobobby04
2020-08-22 13:03:39 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon
748a720199 Lift toolbar on scroll in extension details and manga controllers 2020-08-10 12:04:51 -04:00
arkon
abd69d4f91 Fix weird backstack behaviour after clearing database
Shouldn't affect anything since controllers are recreated when entering different sections.
2020-07-25 16:45:27 -04:00
arkon
bdc441a5be Hide manga title in toolbar when at top 2020-07-25 11:34:44 -04:00
arkon
4809d06d04 Speed up controller fade and tab expansion animations 2020-07-11 23:08:39 -04:00
arkon
479eb1ba71 Attach some FABs and snackbars to root CoordinatorLayout
Fixes some issues around snackbars sometimes being out of view.
2020-07-10 11:15:57 -04:00
arkon
40639c0933 Update dependencies, remove play-services-oss-licenses 2020-07-09 18:30:57 -04:00
tatsuya25
d8b1f60581
update BaseController.kt (#3423) 2020-07-07 17:29:15 -04:00
arkon
f430b6f853 Use getEnum for theme preferences too 2020-05-25 15:13:30 -04:00
arkon
a0f5633094 Use enums for other PreferenceValues 2020-05-25 14:07:12 -04:00
arkon
d46a742a43 Convert rotation to FlowPreference, remove some unused subscriptions code 2020-05-10 11:42:46 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon
b8152dd7f9 More FlowPreferences migrations 2020-04-17 20:15:33 -04:00
arkon
401210da44 More FlowPreferences migrations 2020-04-17 18:30:05 -04:00
arkon
beb81b657e Migrate some RxSharedPreferences to FlowSharedPreferences 2020-04-17 09:28:58 -04:00
Jay
aedb4749a2 Controllers now properly remove their toolbar items on pop (fixes #2864) 2020-04-12 12:34:56 -04:00
arkon
8cfd80ba84 Move catalogue filters to bottom sheet 2020-04-10 14:23:27 -04:00
arkon
627a720d4b Migrate to ViewBinding from Kotlin synthetics in controllers 2020-04-08 23:06:28 -04:00
arkon
e41edc1fb7 Pure white light theme 2020-03-15 11:36:38 -04:00
arkon
022cde2c00 Fix secure screen option subscription memory leak 2020-03-09 14:03:47 -04:00
arkon
d6ea69a115 Action toolbar code cleanup 2020-03-08 17:23:26 -04:00
arkon
316211372c Tweak how bottom action menu is configured 2020-03-08 15:38:42 -04:00
arkon
164da0fd9f Hide bottom nav on non-root controllers 2020-03-06 22:14:24 -05:00
arkon
e5c0969047 Change system dark mode check
User on Discord reported setting wasn't working on his devices.
2020-02-27 19:56:04 -05:00
arkon
043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon
61d2107e9c Add secure screen setting 2020-02-22 13:32:05 -05:00
arkon
8bb83782c7 Biometrics lock (closes #1686) 2020-02-21 23:04:37 -05:00
arkon
9942227c6c Minor system theme tweaks 2020-02-18 22:05:54 -05:00
onlymash
02b5c3da71
Support follow system theme[Android 10] (#2603)
* Support follow system theme

* Show [follow system theme] only on Oreo and newer

* Update preference values of theme

* Refine theme preference
2020-02-18 21:58:52 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
[pʲɵs]
c22e2e8159 Do not suppress a type system error (#2524)
This code was sort of fine when it used raw Java types, but the Kotlin
equivalent technically calls a method that takes a Nothing-typed
argument with a value that is not of type Nothing. Whether that works
depends on how lenient kotlinc is about inserting casts in bytecode.

The solution is to give the unknown type represented by a star an
explicit name by capturing it in a type variable, then cast to that type
instead of Nothing. This is guaranteed to be an unchecked, but valid,
cast.
2020-01-20 18:34:59 -05:00
MCAxiaz
bed978a26a force menu invalidation when expanding actionView from user interaction to properly layout menu items (#2503) 2020-01-16 21:44:22 -05:00
MCAxiaz
6b5742c1ff Fix catalogue search focus automatically being removed (#2396)
Fix catalogue search focus automatically being removed
2020-01-12 15:02:21 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
arkon
b3f1714ba9
Convert remaining Java files (#2435) 2020-01-05 19:39:25 -05:00
arkon
600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
inorichi
8874fe973c Bugfixes 2018-04-30 18:31:31 +02:00
inorichi
5c31271e91 Workaround a crash related to saving instance state and child controllers 2018-04-25 16:26:46 +02:00
inorichi
ba4807f62c Add logging to controller lifecycle to help reproducing bugs 2018-03-04 21:04:41 +01:00
inorichi
5a3e30b30a Update conductor to latest snapshot (with a minor fix) 2018-02-27 19:06:34 +01:00