Commit Graph

2239 Commits

Author SHA1 Message Date
Jay
f645ac550e Fixed local manga covers not updating on edit 2020-04-27 00:52:32 -04:00
Jay
60555a2324 Downgrading material dialogs to 3.1.1
Because china can't make phones
Fixes #173
2020-04-27 00:15:06 -04:00
Jay
cb1594b73f Moved start reading button in list view back to the cover 2020-04-26 19:18:10 -04:00
Jay
67e9d79a1a Fixed swipe refresh not showing sometimes while browsing 2020-04-26 19:11:05 -04:00
Jay
caaddda040 Manhua no longer switches to LTR reader if the default reader is webtoon 2020-04-26 19:11:00 -04:00
Jay
610569cbc3 Using OutlinedButton.Icon for manga details and recents 2020-04-26 18:21:07 -04:00
Jay
974eb90cd5 Manga details now auto hides the fast scroll
Also more fixes to the tablet layout of manga details
2020-04-26 17:47:32 -04:00
Jay
15d2cb9f36 Remove wording about local covers being erased by refreshing covers setting
since it's no longer true
2020-04-26 16:04:53 -04:00
Jay
661ee54644 Fix empty view still showing on browse source
Using the browse icon for empty view with http sources
2020-04-26 16:03:51 -04:00
Jay
33bda22f08 Fixed start reading button showing with no chapters
And the more button now properly hides when there's no much of a description
2020-04-26 15:50:59 -04:00
Jay
3da64d8835 Fixed managing and collapsing default category 2020-04-26 15:14:55 -04:00
Jay
cd7e4efa5e LTR support on recycler item dividers 2020-04-26 01:16:19 -04:00
Jay
d47a8c6ed9 Fixed opaque status bar when tapping on 2 manga covers at the same time
because thats easier to fix that the double tappers
2020-04-26 01:02:43 -04:00
Jay
658a1a996b Using context extension for night mode checking 2020-04-26 00:52:12 -04:00
Jay
52892da065 Theme fixes for reader
Smart by theme now changes its background color on day/night switch, white theme is now actually #FFFFFF on background
Continous Vertical always uses black between pages, even if using light theme
Fix animated gif backgrounds
2020-04-26 00:44:31 -04:00
Jay
4ce2172a0c Date TimeSpan extension 2020-04-26 00:33:47 -04:00
Steven Smith
420f58eaed Improvements to EPUB support. (#2409)
* Fix EPUBs containing relative file paths and/or alternate path separators.

* Support calibre-generated EPUB covers.

* Store EPUB pathSeparator in a field.

* Process both types of image tags in EPUBs.

* Process all EPUB image tags in order.
2020-04-25 23:32:40 -04:00
Jay
900238c84f Some source icon clean up 2020-04-25 22:24:32 -04:00
Jay
6bdc720249 Remove text drawable library 2020-04-25 21:45:10 -04:00
Jay
b2ff267028 Using webp with a real shadow instead of vector xml for local source icon 2020-04-25 21:40:33 -04:00
Jay
7b7222428c Add links to local source guide
Also added empty view in browse sources to retry or open in webview
2020-04-25 20:29:00 -04:00
Jay
40ae78c0a3 Adding custom local source icon
Maybe we'll ask as to make one someday...
2020-04-25 20:22:33 -04:00
Jay
90a3145345 Update string to say "WebView" 2020-04-25 20:20:10 -04:00
arkon
0ea6764671 Added actionable items to empty view 2020-04-25 20:19:16 -04:00
Jay
ad2e14bf1a Created setTextColorRes Extension method 2020-04-25 18:18:13 -04:00
Jay
1c51a4c499 Updates to manga header margins + tablet layout fixes for the controller 2020-04-25 18:17:41 -04:00
Carlos
09a24bd9f2
Some Detail UI changes (#217)
* slight gradient increase in width
adjust more/less/start reading button to have more margin to be padded away from fast scroller

* remove title from top app bar
2020-04-25 17:14:48 -04:00
Jay
e9efc7d020 Added Tips for filters and chapter swipe
Using tooltip library to showtips
Swipe animations for first chapter item
Flow preferences to handle this
2020-04-25 00:47:01 -04:00
Jay
3bee24e79a Long pressing library icon now updates the library
Long pressing on other tab items expands the bottom sheet for that page
2020-04-25 00:28:25 -04:00
Jay
b67c6ec2c7 Adding Flow Preferences 2020-04-24 23:16:35 -04:00
Jay
693b8cb142 Fix comment indents in build gradle 2020-04-24 23:14:18 -04:00
Jay
01eb5ef5c0 Update preferences library 2020-04-24 23:12:39 -04:00
Jay
7fb8226a5f Fixed filters/track item dividers 2020-04-24 23:00:38 -04:00
Carlos
53bdb9cb12
minor theme cleanup (#211)
* use color selectors for alternative text colors and status bar
removed unneeded colors
removed ptsans since its not used and also thats not the way to do fonts anymore

* cahnged name to app_color_primary from bluePrimary

* fix fact total badge color text is not being used
2020-04-24 22:01:39 -04:00
Jay
226eacdfcb Fixed elevation issue when going into manga details 2020-04-24 18:18:34 -04:00
Jay
9586b564ed Better RTL support in manga details and library 2020-04-24 17:09:08 -04:00
Jay
024b075330 Reusing scroll extension method in manga details 2020-04-24 16:46:18 -04:00
Jay
3fc510fe4b Fixed animation when starting a download from recents 2020-04-24 14:00:47 -04:00
Jay
6237a61b4b Random cleanup 2020-04-24 13:24:41 -04:00
Jay
edbea486c8 Fix chapter download button status 2020-04-24 13:24:25 -04:00
Jay
f717900a89 Fixed inverted bookmark drawable on reader 2020-04-24 01:28:50 -04:00
Jay
7071abb5aa Fixed weird animation when going back to grouped recents 2020-04-23 23:21:58 -04:00
Jay
f6318d83ee Cleanup/Refactoring of Chapter colors
Also using util in recents
2020-04-23 23:20:45 -04:00
Carlos
1519395267
Chapter cleanup (#210)
* clean up chapterholder and reader chapter item to use a helper class for colors

* update gradle.properties to cache and have larger memory

* fixed bug causing some chapters that were swiped to crash app

* add relative date to chapter util
reference colors instead of attrs in color.xml
add a bookmarked and read alpha

Co-authored-by: Jays2Kings <jays@outlook.com>
2020-04-23 21:57:04 -04:00
Carlos
d4449c1d03
LibraryBadge clean up (#209)
* adjust badge colors to use color properties specific to badges
clean up library badge with existing and new view extensions

* fix line that should have been deleted in tracksearch
2020-04-23 21:02:44 -04:00
Carlos
5e5ab8df6b
switch to vector for splash since we target > 21 (#208) 2020-04-23 20:49:32 -04:00
Jay
3631489c56 Fixed collapsed category saying "category is empty" 2020-04-23 03:32:43 -04:00
Jay
950452579f Fixed rare crash when rotating screen in library 2020-04-23 03:24:01 -04:00
Jay
e2410fafb8 Fixing bottom sheets for notched phones
Starting to turn on bottom sheets now
Also general fixes on notched tablets (if those exists, I think they do?)
2020-04-23 03:23:36 -04:00
Jay
1ffe7511f2 More window insets extensions 2020-04-22 23:49:35 -04:00
Jay
b1fa07aedd Fixing imports for before commit 2020-04-22 23:49:12 -04:00
Jay
39aceea9da Using Controller Extensions
Cleanup some unused backup consts/methods
2020-04-22 20:56:11 -04:00
Jay
bd4a839b9e Setting light status bar in light reader themes for android O+ 2020-04-22 20:39:08 -04:00
Jay
204a784895 Added Last Used header to browse, hides if it is a pinned source 2020-04-22 20:33:43 -04:00
Jay
f5cc879a7e Fixing some filter bugs
Fixed not tracked + pressing 2 filters at once
2020-04-22 20:33:17 -04:00
Jay
af3fadd62a Fixed weird changing size of the fab in browse source view
Co-Authored-By: Soitora <simon.mattila@protonmail.com>
2020-04-22 20:32:54 -04:00
Jays2Kings
a0859148e0
Merge pull request #206 from CarlosEsco/minorCodeCleanup
cleaned up some code in the reader sections
2020-04-22 20:24:50 -04:00
CarlosEsco
f6c2558722 run standard xml format on reader files 2020-04-22 13:31:02 -04:00
CarlosEsco
4407d8774a delete scope since unused 2020-04-22 13:21:50 -04:00
CarlosEsco
a029fc950e improve if readability
improve bottom edge readability
2020-04-22 13:20:22 -04:00
CarlosEsco
1d92c4474f no reason for nested if 2020-04-22 13:19:49 -04:00
CarlosEsco
e5d3890ead move windowInset check for bottom into extension 2020-04-22 13:19:36 -04:00
CarlosEsco
f0cf0f4106 pass in the color value for the attribute instead of looking up again 2020-04-22 13:00:19 -04:00
CarlosEsco
c035745b94 add some ContextExtensions to wrap ContextCompat.getDrawable and ContextCompat.getColor 2020-04-22 12:57:03 -04:00
CarlosEsco
ca633b1f95 wrap more if's and else with braces 2020-04-22 12:50:52 -04:00
CarlosEsco
4e44ee3605 wrap if's in {} for readability 2020-04-22 12:47:47 -04:00
CarlosEsco
3240260a91 replace same line if else to when for readability 2020-04-22 12:43:55 -04:00
CarlosEsco
7399c87601 adjust setting reader system ui easier to follow 2020-04-22 12:42:03 -04:00
CarlosEsco
a47704071b add ability to adjust side padding in main reader settings 2020-04-22 11:45:49 -04:00
CarlosEsco
f331b24386 code should hide this button if the dialog was not tracked.
currently it just adds blue action color but always shows
2020-04-22 11:19:34 -04:00
Jay
12dfad2432 Fixed manga details being blank 2020-04-22 01:48:47 -04:00
Jay
aab4e7fe5a Minor refactoring/documentation of manga details controller
It aint much but its something
2020-04-22 01:18:08 -04:00
Jay
efb28e21a7 Removing launchUI from library presenter
Also fixed library not having an alpha when coming to the screen from restoring
2020-04-22 00:27:23 -04:00
Thiago França da Silva
4e54690229 Add an UserAgent Interceptor to Cloudflare Client 2020-04-21 16:51:12 -04:00
arkon
329e8f1988 Migrate to WorkManager 2020-04-21 14:04:37 -04:00
Jay
beeabe17c4 Checking alpha component when check if a color is dark
Because turns out some scanalors leave an uncropped alpha in their pages
2020-04-20 01:48:31 -04:00
Jay
a2e7b48501 Fixes to collasped category showing items + fixed single categoery named as Library 2020-04-20 01:08:19 -04:00
Jay
0d6730d5d9 Remove glide transform
forgot to commit it
also upgdating firebase
2020-04-19 20:48:53 -04:00
Jay
2fa1c71fbd More attr cleanup 2020-04-19 20:46:53 -04:00
Jay
776e75cb6c Swiping up on bottom nav with an expanded filter sheet now opens display options 2020-04-19 18:37:38 -04:00
arkon
b08a5d6596 Remove manga homescreen shortcuts 2020-04-19 18:26:54 -04:00
Jay
b53d571a1c Add option to hide start reading button 2020-04-19 18:22:12 -04:00
Jay
b38b74d95d Using appbar for reader, removing tablayout in main activity xml
and a pill in the reader chapters sheet
2020-04-19 17:57:35 -04:00
Jay
732b7c3414 Update dividers 2020-04-19 17:41:50 -04:00
Jay
541b026fa8 Fixed restored but errored manga ending up in default category 2020-04-19 17:29:28 -04:00
Jay
5b5239c5eb Reader now using app theme, clean up of unused drawables; attrs; colors 2020-04-19 17:28:59 -04:00
Jay
aef79bafad Converted long press for hide and pin into a swipe and button
respectively
2020-04-19 14:52:22 -04:00
Jay
5871572442 Renaming a bunch of files as Source instead of Catalogue 2020-04-19 04:33:57 -04:00
Jay
83990793a2 Part 1 of updating source controller 2020-04-19 04:17:47 -04:00
Jay
5e56f80709 Added source icon to filter sources 2020-04-19 01:20:56 -04:00
arkon
1373a0d61c Add source pinning (closes #2322) 2020-04-19 00:18:25 -04:00
arkon
849cb4208f Change catalogue hiding dialog to accommodate more options in the future 2020-04-18 23:40:10 -04:00
arkon
5276e25b22 Basic implementation of hiding catalogue by long pressing 2020-04-18 23:31:38 -04:00
morcefaster
0629bf982c Webtoon zoom out (#2892)
* Increased added support for zoom out on webtoons to help with horizontal layout reading

* Renamed var
2020-04-18 23:19:52 -04:00
arkon
08cb46b145 Tweak library icon 2020-04-18 23:17:40 -04:00
Jay
2df67c5691 Bolding current chapter in reader's chapter list 2020-04-18 23:09:27 -04:00
arkon
3438d72232 Fix extension setting dialogs not handling duplicate keys (fixes #2876) 2020-04-18 22:53:39 -04:00
Jay
7ef5e59421 Forcing webtoon mode on manhwa and long strip 2020-04-17 23:23:57 -04:00
Jay
f0cb967f6a Added ability to search manga titles in collasped category 2020-04-17 01:03:57 -04:00
arkon
a4178f5d28 Add shortcut to disabling battery optimization 2020-04-17 00:36:07 -04:00