Commit Graph

137 Commits

Author SHA1 Message Date
arkon c68e7c8da7 Update OneWayFadeChangeHandler to match TachiyomiSY
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2021-05-14 10:40:38 -04:00
arkon 71c9df5279 Lint fixes 2021-04-27 17:46:34 -04:00
arkon 89619b7836 Drop support for Android 5.x 2021-04-27 09:29:05 -04:00
arkon cab919d74c Clean up controller viewbinding creation
Based on https://github.com/Jays2Kings/tachiyomiJ2K/blob/master/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt
2021-04-18 12:54:51 -04:00
Ivan Iskandar ad57fde1c5 Themes cleanup (#4894) 2021-04-18 11:29:56 -04:00
Ivan Iskandar 1f729f1cb3 Add navigation bar scrim (#4845)
* Revert "Add navigation bar scrim (closes #4836)"

This reverts commit 2a69d1b0

* Add navigation bar scrim
2021-04-15 09:55:39 -04:00
Ivan Iskandar f3660d88dd Draw edge-to-edge (#4802) 2021-04-10 09:38:55 -04:00
arkon f7a6cbe5e2 Revert "Drop support for Android 5.x"
This reverts commit 443024cebb. Guess I'll do this a bit later so scb can get another major update first.

April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon 443024cebb Drop support for Android 5.x
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
Antoine Gaudreau Simard 2911fe7a1a Add onPause\onResume persistence to searchView. Fixes issue #3627 (#4494)
* Add onPause\onResume persistence to searchView. Fixes issue #3627

* New controller subclass with built-in SearchView support

* Implement new SearchableNucleusController in SourceController

* Add query to BasePresenter (for one field it is not worth create a subclass in my opinion), convert BrowseSourceController to inherit from SearchableNucleusController

* move to flows to fix an issue in GlobalSearch where it would trigger the search multiple times

* Continue conversion to SearchableNucleusController

* Convert LibraryController, convert to flows, Known ISSUE with empty string being posted after setting the query upon creation of UI

* Fix issues with the post being tide to the SearchView queue which is not processed until shown. Add COLLAPSING state capture which should wrap this up.

* refactoring & enforce @StringRes for queryHint
2021-03-27 16:38:41 -04:00
arkon 61e5440b7c Avoid crash when device fails to handle opening a URL 2021-02-12 17:02:37 -05:00
arkon 291168f4de Remove unnecessary LayoutContainer implementations 2021-02-08 17:45:42 -05:00
arkon b18a794eca Use lifecycleScope directly 2021-01-07 19:12:30 -05:00
arkon 6fb7a85e8a Address more coroutine scope leaks 2021-01-07 18:15:57 -05:00
inorichi 36f81b4a62 Minor fixes regarding leaks 2021-01-07 15:19:00 +01:00
arkon 6d403851cf Apply theme to OAuth login redirect activities 2020-12-14 23:00:01 -05:00
arkon 69be3e1e87 Complete migration off of Kotlin synthetics 2020-12-13 18:01:51 -05:00
arkon e048d66f74 Revert edge to edge
This was a bigger headache than it was worth. To note, phone landscape wasn't considered, so the navbar overlaps the content on the side. Additionally, the ability to programatically control the navbar scrim is missing, so it'd have to manually be added.
2020-11-29 11:08:06 -05:00
arkon 749c2071af Replace Kotlin synthetic views in viewholders 2020-11-28 15:24:40 -05:00
arkon aa98cd0da0 Fix keyboard sometimes affecting bottom inset padding 2020-11-28 13:02:15 -05:00
arkon 776f6a9a16 More bottom inset padding fixes 2020-11-27 21:05:06 -05:00
arkon 56e1e3e205 Further abstract how bottom navbar padding is applied 2020-11-22 22:57:58 -05:00
arkon 0f805cd45e Handle bottom navbar padding when drawing edge to edge 2020-11-22 22:48:38 -05:00
arkon 122b2b1a8e Draw under navbar in Android 9+ 2020-11-15 13:30:49 -05:00
arkon a3c598a3e1 Remove card backgrounds from browse lists 2020-09-26 19:03:46 -04:00
arkon 76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon e90b0aaf8b Adopt OneWayFadeChangeHandler from SY
From https://github.com/jobobby04/TachiyomiSY/commit/d86f3ffad808f01d4f04f136c63c0e11f135748c
2020-08-23 10:42:20 -04:00
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