Commit Graph

263 Commits

Author SHA1 Message Date
arkon 2e2663bad9 Avoid crash if activity is already dead 2021-02-12 16:55:14 -05:00
arkon d5cfbef42b Minor cleanup 2021-01-31 14:46:35 -05:00
Unlocked c34b548a3e Add manga count to the library header (#3884)
* Add manga count to the library header

* Make showing the number of manga configurable

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-01-31 10:15:37 -05:00
arkon 7eef4f7fbf Apply bottom sheet dialog with restriction consistently 2021-01-28 09:10:15 -05:00
arkon 0a54901eb0 Refactor tracker name strings 2021-01-24 16:06:28 -05:00
Andreas fea2e0a265 Extend track filter (#4344)
* Allow to filter for each tracker logged in

* Simplify filter logic

* Use variable names instead of it

and rename variables

* Change how trackFilters and items are setup

* Use variable name instead of it and try cleanup filterFnTracking

* Changes from feedback
2021-01-24 15:24:00 -05:00
Clarence Castillo 496a476c13 Fix multi-select phantom anchor bug in manga chapters and library (#4201)
* Fix phantom anchor bug in manga chapters list when multi-selecting

* Fix phantom bug when long pressing selected items not at top of stack

* Fix phantom anchor bug in library page
2021-01-22 17:35:51 -05:00
Andreas 1a5858e99b Hide tracking when no tracker is logged in and change filter logic (#4310)
* Hide tracking when not logged in

* Change string name and value
2021-01-18 17:08:11 -05:00
Andreas 5cddc0c387 Add filter for tracking (#4276)
* Add filter for tracking or not

* Use .any

* Access database only when needed
2021-01-17 15:40:17 -05:00
arkon 8e613d03e3 Address coroutine scope leaks in custom views 2021-01-07 19:16:26 -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 69be3e1e87 Complete migration off of Kotlin synthetics 2020-12-13 18:01:51 -05:00
arkon fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
Taco c2b8fea291 Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints
2020-12-08 22:21:08 -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 66e3fa7df8 Replace more Kotlin synthetics 2020-11-29 11:07:06 -05:00
arkon 019a0f31c7 Replace more Kotlin synthetics 2020-11-28 15:54:53 -05:00
arkon 749c2071af Replace Kotlin synthetic views in viewholders 2020-11-28 15:24:40 -05:00
arkon 322d66d282 Replace more usages of Kotlin synthetic views 2020-11-28 14:56:57 -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 7194f65203 Show downloaded only banner in all views 2020-10-03 10:48:53 -04:00
arkon fb3756420b Use tristate checkboxes for chapters list filters 2020-09-27 18:13:20 -04:00
scb261 458e761b45 Add ability to choose what to remove for selected mangas (#3796)
* [wip] started to change manga delete options

* Change dialog for deleting selected manga

* Move array to appropriate file

* Make first option enabled by default

* Use radio buttons to reduce amount of clicks

* Revert "Use radio buttons to reduce amount of clicks"
2020-09-27 13:03:04 -04:00
arkon 477aedbffa Minor updates 2020-09-20 10:34:22 -04:00
arkon 7641bb4d0d Fix downloaded only filter 2020-09-15 17:53:01 -04:00
arkon 687f3d48ea Tri-state library filters (closes #1814)
Based on https://github.com/inorichi/tachiyomi/pull/2127.

Co-authored-by: hXtreme <hXtreme@users.noreply.github.com>
2020-09-14 17:52:00 -04:00
arkon da5f10a2f1 Clean up global chapter settings code 2020-09-14 16:23:42 -04:00
arkon 76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -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 8bab1d9798 Add mark as read/unread to library (closes #156)
Adapted from https://github.com/CarlosEsco/Neko/commit/e51276a1acb233467bbb1c7214be0ec105c62cb7
2020-08-08 12:16:37 -04:00
arkon 98a4d1e763 Actually fix library search properly 2020-07-31 12:54:23 -04:00
arkon f762598c5c Fix library search query being lost when returning (closes #3473) 2020-07-31 12:18:47 -04:00
arkon 9e51d82154 Replace custom visibility extension functions 2020-07-25 12:00:27 -04:00
arkon bdc441a5be Hide manga title in toolbar when at top 2020-07-25 11:34:44 -04:00
arkon 08dc57fd02 Revert ViewPager2 library 2020-07-19 21:33:19 -04:00
arkon 2a202bd510 Migrate library to ViewPager2 2020-07-19 11:48:41 -04:00
arkon 966c196f4a Remove unused CoverCache param from LibraryController 2020-07-12 17:04:52 -04:00
arkon 9f7fda0bc5 Move edit cover to manga info 2020-07-11 22:40:05 -04:00
arkon 763da19c9d Add shortcut to global search query from library (closes #2183) 2020-07-10 19:31:23 -04:00
arkon 1813dbbf59 Add ability to sort library by date added (closes #1287) 2020-07-10 15:56:06 -04:00
arkon c6d29fc19b Move MaterialFastScroll to widget package 2020-07-04 13:45:01 -04:00
arkon d9a12d79b0 Add ability to download unread chapters from library 2020-07-04 10:54:01 -04:00
arkon 6ad3fcb91d Rounded library badges 2020-06-13 17:00:32 -04:00
arkon 32e3ac63ed Bump dependencies 2020-06-13 15:17:21 -04:00
arkon bf5065d16b Minor cleanup, remove some usages of ArrayList 2020-05-30 23:42:11 -04:00
arkon 8c2b2f99bc Add option to hide library category tabs 2020-05-28 18:15:24 -04:00
arkon 78a352541a Use actual enum support for display mode preferences 2020-05-25 15:03:51 -04:00