Commit Graph

66 Commits

Author SHA1 Message Date
arkon
c741920ec0 Rename some biometrics things since it's no longer specifically for biometric auth 2021-05-22 12:39:47 -04:00
Andreas
122cdae5bc
Automatic background color for PagerViewer (#4996)
* Add J2K implementation of automatic background

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>

* Tweak the monstrosity called automatic background

* Add ability to choose Automatic as a background

* More tweaks

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
2021-05-04 22:46:42 -04:00
arkon
89619b7836 Drop support for Android 5.x 2021-04-27 09:29:05 -04:00
Andreas
662b71436e
Cleanup dual page split (#4956)
* Cleanup Dual Page Split

* Move where images is processed

* Change parameter name to imageStream

* Use available instead of Int.MAX_VALUE

* Update JavaDoc
2021-04-25 11:08:51 -04:00
arkon
38610d8a24 Avoid crash when users copying to clipboard fails because they have apps that are listening to their clipboards but also denied permissions
See https://commonsware.com/blog/2013/08/08/developer-psa-please-fix-your-clipboard-handling.html
2021-04-17 12:29:22 -04:00
arkon
d981245723 Remove toolbar snapping 2021-04-15 10:05:47 -04:00
Ivan Iskandar
1f729f1cb3
Add navigation bar scrim (#4845)
* Revert "Add navigation bar scrim (closes #4836)"

This reverts commit 2a69d1b0

* Add navigation bar scrim
2021-04-15 09:55:39 -04:00
arkon
126e1e2d9d Allow weaker unlock methods in Android 6 - 10 (fixes #4833) 2021-04-13 15:02:57 -04:00
Taco
b3471234ad
Update NDK, more KTX usage (#4792)
* Update NDK

* Utilize more KTX extensions
2021-04-08 17:56:01 -04:00
arkon
1237af1ff3 Move BiometricUtil to correct package 2021-04-03 11:38:01 -04:00
arkon
a3992d9fbe Minor cleanup 2021-04-03 10:12:31 -04:00
arkon
f7a6cbe5e2 Revert "Drop support for Android 5.x"
This reverts commit 443024cebb. Guess I'll do this a bit later so scb can get another major update first.

April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon
443024cebb Drop support for Android 5.x
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
Andreas
776610d0e6
Let users invert dual page split (#4470)
* Let users invert dual page split

* Use Activity lifecycleScope and cleanup invert logic
2021-02-20 09:26:57 -05:00
arkon
33992d80bf Add orientation toggle to bottom reader menu 2021-02-13 18:50:50 -05:00
arkon
f5f592be91 Require minimum WebView v88, try to catch fatal errors too 2021-02-12 12:42:33 -05:00
vance
b5017eebbf
Added dual page split setting (#4252)
* Add DualPageSplit option

* remove extra line

* Split double-page into two pages

* Remove !isAnimated check and add (ALPHA) to the label

* Fix missing insert pages

* Pager cleanup

* Add dual split to Webtoon and fix Vertical

* Fix L2R/R2L

* Add comments and refactor code in ImageUtil

* Use a simpler split solution in webtoon mode

Co-authored-by: weng <>
Co-authored-by: Andreas E <andreas.everos@gmail.com>
2021-02-09 17:54:44 -05:00
arkon
3566072f4a Revert attempt to programmatically determine user agent string; fallback to Edge 2021-02-07 17:54:28 -05:00
arkon
cf1609a429 Massage user agent string from WebView a bit more 2021-02-07 16:19:13 -05:00
Taco
5f7e34b6a1
Update Okio, use more KTX stuff (#4353)
* Update Okio to 2.10.0

* Use some more KTX extensions
2021-01-26 09:02:53 -05:00
arkon
a93c0577ac Minor cleanup 2021-01-24 11:04:25 -05:00
arkon
0685382083 Extract user agent string from WebView 2021-01-23 15:57:59 -05:00
arkon
0affc0d58b Migrate to official MyAnimeList API (closes #4140) 2020-12-18 23:18:31 -05:00
arkon
2cc2a90941 Refactor CustomTabsIntent creation 2020-12-13 22:30:27 -05:00
arkon
e8627800fe Remove bundled fallback file picker 2020-12-13 12:42:10 -05:00
arkon
907fbb94a2 Require WebView 86+ 2020-12-13 11:27:05 -05:00
Taco
c2b8fea291
Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
Taco
60755d0c26
Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes
2020-10-12 16:46:25 -04:00
arkon
b88e444cbc Bump minimum WebView version to 84 2020-10-10 16:35:08 -04:00
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
9920ff617b Clean up X-Requested-With change
This only really affects the initial request, subsequent requests may still use the package name.
2020-08-22 12:49:00 -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
4857073f30 Revert "Use AndroidX WebKit library"
This reverts commit 7e7eb9f39f.
2020-08-02 16:12:05 -04:00
arkon
ec56c27071 More core-ktx usages 2020-07-31 10:29:32 -04:00
arkon
a928d9fa0b Enable more WebView settings to better mimic regular browser 2020-07-12 22:40:51 -04:00
arkon
7e7eb9f39f Use AndroidX WebKit library 2020-06-10 23:01:11 -04:00
arkon
97aed045e6 Copy to clipboard when long pressing tracking title (closes #3163) 2020-05-12 09:11:15 -04:00
arkon
d86d861e4b MaterialFastScroll updates 2020-05-07 22:40:23 -04:00
arkon
b4c7992726 Minor cleanup of wakelocks, extension ID backup 2020-05-07 09:14:52 -04:00
arkon
6cd34614f6 More extreme method for enforcing WebView availability 2020-05-02 19:03:48 -04:00
arkon
74af40a352 Revert hiding cutout setting from reader sheet 2020-04-28 17:47:34 -04:00
arkon
d593362ba8 Merge sources and extensions into one view 2020-04-27 19:16:46 -04:00
arkon
57911c42d1 Copy debug info when tapping version 2020-04-26 22:55:13 -04:00
arkon
0a509cb382 Remove usage of alpha color selectors (fixes #2957)
Doesn't work properly in API < 23
2020-04-26 17:24:31 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
Jay
a088c9ca7c Added Last Used header to browse 2020-04-24 10:53:22 -04:00
arkon
96618e9517 [CI SKIP] More consistent "WebView" wording 2020-04-19 20:53:31 -04:00
arkon
dff239141d Force close app if Webview isn't available 2020-04-19 16:10:49 -04:00
arkon
359d4dc1b2 Show locale name in system default locale 2020-04-18 22:48:52 -04:00