Commit Graph

2596 Commits

Author SHA1 Message Date
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
c69420373a Set background job expedited policies 2021-06-02 22:58:03 -04:00
arkon
281a3911f6 Add share and save cover actions (closes #3011) 2021-06-02 22:51:10 -04:00
Andreas
3db85c7274
Tap to enlarge cover (#5256)
* Convert manga_info_header to use ContraintLayout

Will help with MotionLayout and tablet layout

* Convert to MotionLayout to be able to enlarge cover art

* Add keyframes to animations

* Remove keyframes

Alexa play Despacito

* Add back manga_summary_section
2021-06-01 17:59:38 -04:00
curche
b41ac355a0
add long click to view manga in Migration Source Search (#5241)
apparently was added to Sy in 8686fecb1f
added it for main as well

Co-Authored-By: jobobby04 <jobobby04@users.noreply.github.com>

fixes https://github.com/tachiyomiorg/tachiyomi/issues/5027
2021-06-01 17:58:10 -04:00
arkon
5113c78ab6 Consolidate some of the app update classes
We only use GitHub for all update checks, so the abstraction isn't useful.
2021-06-01 17:54:34 -04:00
arkon
3854995ef2 Address some Kotlin language warnings 2021-06-01 17:53:51 -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
d681bea395 Revert "Revert "Revert "Temporarily hide Komga tracker"""
This reverts commit 79ab492a5b.

lol
2021-05-31 19:36:46 -04:00
arkon
79ab492a5b Revert "Revert "Temporarily hide Komga tracker""
This reverts commit 7be2cbb75b.
2021-05-31 19:35:10 -04:00
arkon
7be2cbb75b Revert "Temporarily hide Komga tracker"
This reverts commit 31997fe50a.
2021-05-31 18:46:45 -04:00
arkon
31997fe50a Temporarily hide Komga tracker 2021-05-31 18:46:09 -04:00
arkon
5e5ceef122 Update some icons 2021-05-30 17:24:57 -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
arkon
aa50554f06 Fix last library category not being saved 2021-05-30 10:29:32 -04:00
arkon
034506f56b Fix toolbar menu being broken on transition (fixes #5135) 2021-05-29 13:39:39 -04:00
arkon
3d9383ce67 Try to avoid some Webview-related crashes
Related to #5218
2021-05-28 22:38:36 -04:00
Ivan Iskandar
9de07c11a6
Adjust chapter download button visual (#5213)
* Removed the blinking icon and added back the indeterminate indicator for
queued items
* Make the downloading indicator a solid circle
2021-05-28 22:38:03 -04:00
Ivan Iskandar
9f744bc445
More bottom sheet improvements (#5183)
* Edge-to-edge bottom sheet when possible

* ReaderSettingsSheet: Animate background dim changes

* Adjust modal bottom sheet in-out animation

* Use public method to get bottom sheet behavior

* Set bottom sheet peek size to 50% screen height

The current auto peek height gives too low value on landscape orientation

* Set bottom sheet navigation bar scrim when needed
2021-05-28 22:36:09 -04:00
Soitora
aed6e12119
Add animations for Bottom Navigation items (#5181)
* Animated icon for the Library tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Animated icon for the More tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Rename more_vert to overflow

Should maybe help any confusion together with the other more_horiz changes.

* Animated icon for the History tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Clarify names and clean files

* Animated icon for the Updates tab

* Animated icon for the Browse tab

* Recreate the animated icon for the History tab

History icons look better when the internal clock is not moving.

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
2021-05-28 22:35:35 -04:00
arkon
fefa519486 Update ACRA 2021-05-27 08:49:47 -04:00
Hunter Nickel
8dcd919ff0
Implement feature to hide "Local" badge from library manga (#5202) 2021-05-26 18:10:20 -04:00
Gauthier
d9c27e7109
Display the currently active restrictions in the library update preference (#5187)
* display the currently active restrictions in the library update preference

* removed first line

* use constant instead of literal string

* remove spanned string builder
2021-05-26 08:57:13 -04:00
arkon
8af8c57bb4 Add link to official subreddit 2021-05-25 18:33:56 -04:00
inorichi
8c18a14dfd Display animated webp whenever possible, otherwise fallback to static image. Fixes #5139 2021-05-25 19:42:48 +02:00
Gauthier
9a801cfdfb
Hide the score display on the tracksheet if not supported (#5169)
* hide the score display on the tracksheet if not supported

* Convert track item to use LinearLayout

Co-authored-by: Andreas E <andreas.everos@gmail.com>
2021-05-25 09:03:56 -04:00
Soitora
4af13e3536
Added "Green Apple" theme (#5184)
* Added "Green Apple" theme

Totally not stolen from other forks.

Although to cover all my bases I co-author all people who adapted the theme in any form.

Neko, J2K and Tako

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: Jays2Kings <jays@outlook.com>
Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add black as the OnSecondary color

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-authored-by: Jays2Kings <jays@outlook.com>
Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
2021-05-25 08:26:17 -04:00
Gauthier
e76e903060
Background tracker update during Library update (#5166)
* add preference to auto update trackers during library update

* also update trackers when updating chapters and preference is set

* remove unnecessary launch/join

* perform tracking update within the same chapter update loop to avoid double notifications
2021-05-24 22:26:41 -04:00
Gauthier
acd927a937
Refactor TrackService.kt to remove unused add function (#5164)
* removed the add function from TrackService.kt as it's not used except within the tracker implementations

* add private modifier
2021-05-24 22:12:12 -04:00
arkon
a498f940c6 Put shortcut to backup menu in More 2021-05-24 16:55:42 -04:00
arkon
179cb8eb50 Make some strings in LocalSource translatable (closes #5178) 2021-05-24 16:50:07 -04:00
arkon
47f865aa72 Handle toolbar title in manga details on tablets similar to on phones 2021-05-24 16:28:50 -04:00
arkon
b47face2f8 Remove unused Gson singleton factory
We don't inject it anywhere anymore.
2021-05-24 16:11:13 -04:00
Ivan Iskandar
69869115f6
TabbedBottomSheetDialog: Fix scrollable pages (#5173) 2021-05-24 16:08:43 -04:00
Soitora
0fb9ca3e8b
Added "Strawberry Daiquiri" theme (#5176) 2021-05-24 16:02:45 -04:00
arkon
70d9b0c390 Organize some classes 2021-05-24 12:34:54 -04:00
Gauthier
e57a999c9c
pull the rate limit interceptors from the extensions repo (#5163)
apply a rate limit to anilist, current limit is 90 per minute
2021-05-24 11:29:20 -04:00
Soitora
176e984b56
Add "Midnight Dusk" and "Hot Pink" themes (#5161)
* Organize and clarify themes file

Increases clarification with better commenting, should make it easier to add or modify current themes.

* Make AMOLED its own theme category

* Tweak ripples for AMOLED

* Add "Midnight Dusk" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add "Hot Pink" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>

* Make AMOLED a base theme

* Final tweaks

Rename "Toolbar.Light" to "Custom.PopupTheme"
Changes placing of backgroundDusk

Removes HotPink and MidnightDusk custom Toolbars, I believe they are unnecessary.

* Rename a Midnight Dusk color

* Make AMOLED independent from Dark as a theme

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
Co-authored-by: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>
2021-05-24 11:16:32 -04:00
Ivan Iskandar
b5a700276a
Remove top margin of PreferenceCategory if no title set (#5168) 2021-05-24 09:10:13 -04:00
Ivan Iskandar
3c186a3c8d
Fix incognito mode disabled after the app kicked out of memory (#5167)
The application class onCreate will also be called when user navigates to an
activity after the app process is killed by the system.

So make sure the incognito is disabled only when the entry point of the app is
created from scratch (e.g. after being force closed by the user).
2021-05-24 09:09:35 -04:00
arkon
a462ce3626 Option to move nav rail buttons to bottom of screen (closes #5158)
Based on 90be3e3494

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-05-23 14:30:09 -04:00