Commit graph

3579 commits

Author SHA1 Message Date
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
Riztard Lanthorn
859e8deb02
[SKIP CI] fix GithubUpdateChecker url (#5434) 2021-06-20 11:04:38 -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
jmir1
ac6b4235b9
Fix crash when opening the MangaController from... (#5419)
...the browse search
null safe cast to TextView because when searching for manga in a source,
the toolbar has no children and
find() returns null.
2021-06-18 19:46:45 -04:00
Ivan Iskandar
ab73e98075
Fix incorrect toolbar text color after theme change (#5388) 2021-06-17 08:53:38 -04:00
Soitora
aecdd04e04
Move "Delete sweep" out from overflow (#5392)
Places it as its own icon, having an overflow with only one item doesn't make much sense when that's not the behavior in other parts of the app.
2021-06-16 18:31:20 -04:00
arkon
e5cdf74587 Downgrade WorkManager
Related to #5364
2021-06-14 17:07:38 -04:00
arkon
8d25ce7323 Surface exceptions when fetching pages properly (fixes #5377) 2021-06-12 10:49:30 -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
Ivan Iskandar
73e5e9ecd9
Add background to draggable items (#5353) 2021-06-09 17:16:59 -04:00
Soitora
653b7ffcd0
Fix black icon for small notifications on EMUI (#5350)
* Set notification icon fillColor to Android white

Closes #5340

* Remove '_black' suffix from the glasses icon drawable
2021-06-09 17:16:09 -04:00
jmir1
8791b72cb1
Fix library settings sheet causing app to crash... (#5354)
...when the category list is empty
2021-06-09 17:15:48 -04:00
Andreas
d961492380
Add back missing start/end margins in manga info header (#5352)
* Add missing margin to phone UI

Also, remove unnecessary code

* Add missing margin to tablet UI

* Use LinearLayout instead
2021-06-09 17:14:57 -04:00
arkon
07de367476 Revert "Set background job expedited policies"
This reverts commit c69420373a.

Caused crashes in TachiyomiSY for some reason. Will have to redo this once we target Android 12.
2021-06-09 17:11:23 -04:00
Ivan Iskandar
31d96c2bf0
Fix download status not updated properly after starting batch download (#5348) 2021-06-08 11:18:56 -04:00
Ivan Iskandar
fb8aafb69f
Enable secure screen when incognito mode is enabled (#5339)
* Enable secure screen when incognito mode is enabled

* Fix incognito banner not showing up after configuration changes
2021-06-07 22:41:12 -04:00
Soitora
3d58b78062
Add ripple to history items (#5341)
- Replaces margin with padding.
- Adds the drawable ripple background.
- Changes height to match the padding so it doesn't look odd.
2021-06-07 22:40:48 -04:00
arkon
ec5e6958ef Show global update error notifications by default 2021-06-06 22:27:53 -04:00
arkon
71bd5fe367 Fix crash on source page load error 2021-06-06 22:27:28 -04:00
Andreas
6385c71c72
Fix gradient not being smooth (#5329) 2021-06-06 18:20:43 -04:00
arkon
d43255e688 Draw tablet manga info column under navbar (fixes #5323) 2021-06-06 10:50:00 -04:00
Ivan Iskandar
3527dedc99
Coil: Caching adjustments (#5311)
* Coil: Enable disk cache for source items

* MangaCoverFetcher: Let Coil's OkHttp client handle caching for non-library cover
2021-06-06 10:30:26 -04:00
Andreas
de50f53be4
Fix title jumping around when refreshing (#5328) 2021-06-06 10:29:28 -04:00
arkon
f2e4b2fc99 Get appropriate download link based on CPU ABI 2021-06-05 18:30:04 -04:00
arkon
e6f3cd03bb Use coroutine job for fetching next source page 2021-06-05 18:02:59 -04:00
arkon
a1e31549a2 Add shortcut to tracking guide on website 2021-06-05 18:01:34 -04:00
arkon
71d225c562 Address some build warnings 2021-06-05 17:49:20 -04:00
arkon
7c23212850 Don't expand source filter sheet on show (closes #5253) 2021-06-05 11:08:54 -04:00
Hunter Nickel
fdf178d4df
Add behavior for modifying reader buttons depending on prev/next chapters (#5305) 2021-06-05 10:37:21 -04:00
arkon
04ebca8413 Use smallest width instead of width for alt layouts 2021-06-05 10:25:54 -04:00
arkon
edeee54fb2 Set orientation icon correctly when opening reader 2021-06-05 10:25:54 -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
arkon
fff72b61df Fix image type build error 2021-06-04 23:46:18 -04:00
arkon
74381ef59e Handle HEIF images (partly addresses #4756) 2021-06-04 23:26:37 -04:00
Hunter Nickel
64f95af3e5
Add check for backstack size before pushing DownloadController (#5312) 2021-06-04 18:52:30 -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
jobobby04
597cec3064
Legacy backup conversion to Kotlin Serialization (#5282)
* Legacy backup conversion to Kotlin Serialization

* Fix BackupTest compiling
2021-06-04 18:50:22 -04:00
arkon
b03ebc1fa4 Update tablet UI
- Only used when width is >= 720dp instead of 600dp (typically 10" tablets)
- Fix fastscroll in manga view (fixes #5267)
2021-06-03 23:00:41 -04:00
arkon
6c53bb4d51 Allow center aligned side nav icons (closes #5177) 2021-06-03 09:30:50 -04:00
arkon
fb7a458747 Address some build warnings 2021-06-02 23:17:41 -04:00
arkon
db25a9ae4f Support AVIF and HEIF images (closes #4756)
Co-authored-by: inorichi <inorichi@users.noreply.github.com>
2021-06-02 22:59:02 -04:00
arkon
c69420373a Set background job expedited policies 2021-06-02 22:58:03 -04:00
arkon
2b8347f899 Update dependencies 2021-06-02 22:51:26 -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
arkon
cb8cff3179 Run formatter 2021-06-01 18:01:23 -04:00