Commit Graph

727 Commits

Author SHA1 Message Date
Ivan Iskandar
24e5a4d7ec
Enable elevation overlay for MaterialSwitch (#5686) 2021-08-09 17:47:57 -04:00
Andreas
7907a4fc24
Add ability to tweak auto hide sensitivity in Webtoon Reader (#5650)
* Tweak threshold

* Put setting under Webtoon instead

Because it only affects Webtoon related viewers
2021-08-07 10:34:47 -04:00
arkon
03980b2f27 Remove ability to set in-app language differently from system's 2021-08-06 16:45:40 -04:00
arkon
478256d766 Remove autosizing for manga title in tablet view, fix centering 2021-08-06 14:18:37 -04:00
arkon
b5e118e2b4 Group advanced battery optimization setting entries 2021-08-05 17:47:52 -04:00
arkon
e8beb7103c Reword tracking update preference since it updates status too 2021-07-24 11:20:48 -04:00
arkon
0e4ce0f1ae Relax MIUI backup/restore warning 2021-07-24 11:14:39 -04:00
arkon
dce3049446 Remove autoAddTrack preference 2021-07-18 15:00:07 -04:00
arkon
a69a833716 Require Komga to be installed when attempting to setup tracker (closes #5491) 2021-07-18 13:12:47 -04:00
arkon
697b082591 Warn on backup creation for MIUI users 2021-07-18 13:04:32 -04:00
Ivan Iskandar
b2d58e04d2
Add Dynamic theme for Android 12 (#5569)
* Add Dynamic theme for Android 12

* Also theme text colors
2021-07-18 13:01:58 -04:00
arkon
8bfc5f0450 Put Komga tracker in separate group 2021-07-18 12:55:55 -04:00
arkon
5d1134dfa8 Add link to Don't Kill My App! in advanced settings 2021-07-17 12:52:27 -04:00
Ivan Iskandar
05e7b0dc22
Fix splash screen icon on Android 12 (#5565)
* Use Core Splashscreen for splashscreen stuff

* Keep splash screen until activity ready

Ready as in the data inside starting screen is finished showing

* Use custom splash screen exit animation on older android version

* Add splash screen minimum duration to prevent exit jank

* Fix broken AMOLED theme

* Improvements
2021-07-17 12:06:15 -04:00
Soitora
4ce4ee3c00
Make incognito bar use primary colors (#5558)
Looks better than the odd forced gray used for all themes
2021-07-15 17:28:10 -04:00
Soitora
0d62aedfbb
Added "Tako" theme (#5546)
* Added "Ninomae" theme

Based on the lovely Ninomae Ina'nis, for Arkon and Flat

* Use updated colors from Ghostbear

Adapted after feedback

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Tweak the Ninomae theme further

* Sort themes alphabetically

- Sorts themes alphabetically.
- Use the same capital word system in colors.xml for themes.xml as well.
- Rename AMOLED theme to AMOLED mode in theme.xml and color.xml references.

* More tweaks

* Style incognito bar

Uses a dark purple which looks super clean instead of a washed out gray

This sets the groundwork for other themes too

* Tweak final onPrimary color

* Rename Ninomae to Tako

RIP

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2021-07-15 08:46:30 -04:00
Ivan Iskandar
ae97bb0445
Replace material-dialogs usage with Material Components' (#5423)
* Use Material Components' dialogs

For all dialogs that has direct replacement.

* Convert text input dialogs

* Convert quad-state multi choices dialogs

* Convert date picker dialogs

This also changes the flow to remove selected start/finish tracking date and
the track item itself

* Remove material-dialogs dependencies
2021-07-14 18:04:03 -04:00
Riztard Lanthorn
2e487f8a3f
fix yin & yang theme (#5535)
refresh arrow color didnt change in dark mode
2021-07-12 09:57:42 -04:00
Soitora
13d39fc942
Tweak chip contrast (#5526)
* Set better contrast for chips

* Set custom chip colors for Yin Yang
2021-07-11 15:45:53 -04:00
Soitora
b7547a8458
Optimize the Green Apple theme variant (#5530) 2021-07-11 15:45:42 -04:00
Soitora
3dbfee91f6
Improve Green Apple color in Light theme (#5528) 2021-07-11 10:42:11 -04:00
arkon
09d4901781 Reword delete chapter settings (closes #5494) 2021-07-10 16:15:49 -04:00
arkon
d4c8480dee Add warning for MIUI users when trying to restore backups with MIUI Optimization disabled 2021-07-10 11:04:41 -04:00
arkon
e65f59b3df Show all currently updating manga in library update notification 2021-07-08 23:03:22 -04:00
Riztard Lanthorn
d9ea621e54
add Yin Yang Theme (#5508)
* add Yin Yang Theme

* change download badge color to yin yang as well

* update string

* fix &
2021-07-08 09:12:23 -04:00
arkon
040bac3da2 Resource cleanup post-theme removal 2021-07-04 17:51:15 -04:00
arkon
e9dce32a98 Remove Hot Pink theme
The old AMOLED Hot Pink theme is pretty close to what Midnight Dusk + AMOLED is now.
2021-07-04 12:05:53 -04:00
arkon
535cc0d81e Rename "Dark Blue" theme to "Blue" 2021-07-04 12:05:11 -04:00
Ivan Iskandar
0eadc028b6
Merge light and dark themes (#5470)
* Merge AMOLED and regular dark themes

This allows all variants of dark themes to use black backgrounds as a
separate preference.

* Merge light and dark themes

* Fix ReaderSeekBar color on Dark Blue theme

* Color fixes

* Fix Dark Blue bars ripple

* Simplify night mode check
2021-07-02 08:44:04 -04:00
stinky-lizard
70ed49e478
Imported implementation for updating library by next expected update from Neko (#5436)
* Imported implementation for updating library by next expected update from Neko. This sort uses the last 4 updates for a manga to compute an average time between updates and then extrapolates when the next update should occur.

Currently seems to work perfectly. However, I may have silently messed something up along the way.

All code and algorithms are credited to kyjibo on GitHub. The original commit adding this functionality is here: 681003926a

* Imported implementation for updating library by next expected update from Neko. This sort uses the last 4 updates for a manga to compute an average time between updates and then extrapolates when the next update should occur.

Currently seems to work perfectly. However, I may have silently messed something up along the way.

All code and algorithms are credited to kyjibo on GitHub. The original commit adding this functionality is here: 681003926a

* Remove commented-out line from LibraryUpdateRanker

I missed removing this when first committing. The removed line is a holdover from Neko, which requires 7+, but I removed the function that requires this.
2021-07-01 18:11:21 -04:00
Andreas
3c67a36b60
Change wording for "Per-category display setting" (#5484) 2021-07-01 09:03:54 -04:00
Ivan Iskandar
cb71d44024
Tracking sheet and search adjustments (#5427)
* Tracking sheet and search visual adjustments

* Remove track item divider

* Add start margin to "add tracking" button

* Fix track search dialog crash when no item chosen

* Show "remove" action only when track item is previously set

* Remove placeholder for total chapters

* Cleanups

* Add track search error/empty result message

* Make track search dialog fullscreen

* Use AutofitRecyclerView for track search dialog

* Fix text input overlapping

* Run track search from IME action instead

* Remove deprecated method

* Reformat

* Set track search error message on the placeholder

* Use payload to notify track search item change

* Fix track search action icon tint color
2021-06-28 11:33:26 -04:00
Ivan Iskandar
64c95305b9
Match ReaderActivity theme with the rest of the app (#5450)
* Match ReaderActivity theme with the rest of the app

* Fix viewer inset when fullscreen reader is off

* Fix incorrect toolbar color after recreate

* Remove animated inset

* Move isDarkMode to PreferencesHelper
2021-06-25 23:28:19 -04:00
Ivan Iskandar
c3fb5af3fc
Fix issues on older API versions and tablets (#5433)
* Fix tablet's navigation rail and toolbar color

* Fix tracking sheet crash on older APIs

* Fix settings crash on older APIs
2021-06-20 11:05:37 -04:00
Ivan Iskandar
932c92412c
More themes cleanup (#5410)
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
2021-06-19 15:45:16 -04:00
Riztard Lanthorn
05771ddf6d
add start download now (#5386)
* add start download now

download now for selected chapter
from j2k

Co-Authored-By: Jays2Kings <jays@outlook.com>

* change string to action

* move to bottom

* oopsie

Co-authored-by: Jays2Kings <jays@outlook.com>
2021-06-19 12:36:29 -04:00
Hunter Nickel
848d387ec4
Add AlertDialog styles to Reader themes (#5426) 2021-06-19 12:34:23 -04:00
Hunter Nickel
8deca3b63a
Added text to category changing dialog when shown with no categories (#5345)
* Added text to ChangeMangaCategoriesDialog if invoked with empty category list

* Change dialog text, add negative button, and change positive button to open CategoryController

* Tiny bit of code cleanup and reorganizing
2021-06-12 09:48:11 -04:00
Zakhar Timoshenko
9b967177c5
Added "Yotsuba" theme (#5290) 2021-06-12 09:45:49 -04:00
Soitora
4dfb3cc972
Improvements to the new library item selectors (#5379)
* Increase card selector radius

* Add themed overlay to library selector
2021-06-12 09:45:26 -04:00
arkon
a1e31549a2 Add shortcut to tracking guide on website 2021-06-05 18:01:34 -04:00
Andreas
a906e9b302
Added category-wise display setting (#5232)
* Added category-wise display setting

Co-authored-by: Rogavactive <30288842+Rogavactive@users.noreply.github.com>

* Use flag instead of preference

* Remove database call in LibraryItem

* Remove unnecessary code

Co-authored-by: Rogavactive <30288842+Rogavactive@users.noreply.github.com>
2021-06-05 10:25:34 -04:00
Andreas
85a1eb75c9
Make cover bigger on tablet UI (#5296)
* Make cover bigger on tablet UI

Also fix bug when opening from source

* Use ISO A5 ratio on tablet UI

* Change design

* Fix bug that happened when refreshing
2021-06-04 18:51:43 -04:00
arkon
6c53bb4d51 Allow center aligned side nav icons (closes #5177) 2021-06-03 09:30:50 -04:00
arkon
281a3911f6 Add share and save cover actions (closes #3011) 2021-06-02 22:51:10 -04:00
OncePunchedMan
9b77dd9a2b
add AMOLED prefix to theme name (#5263) 2021-06-01 18:15:54 -04:00
Soitora
88d9ffe92e
Add better library item selectors (#5240)
* Add better library item selectors

Inspired by the J2K method of library item selection.

* Tweak theme selection colors

It was missing for Hot Pink and Midnight Dusk.

The selector color is 75% alpha of the color accent, this looked fitting for all themes.
2021-06-01 17:56:36 -04:00
arkon
36e14b951a Only show automatically refresh trackers setting if logged in to some trackers 2021-06-01 17:49:04 -04:00
arkon
8622e6492c Remove more unused strings 2021-05-30 11:10:16 -04:00
arkon
1feac9c559 Show toast when toggling crop borders
Consistent with reading mode and orientation shortcuts.
2021-05-30 10:54:24 -04:00