Commit Graph

111 Commits

Author SHA1 Message Date
smdyv
c743c0d6a7 Create layout for the PDF viewer activity
Updating insets is no longer necessary because the layout reserves the
space for the top app bar and frees it up in full-screen mode so the
WebView can fill the entire screen.
2022-02-19 08:32:15 -05:00
smdyv
fdf2cf8c27 Use view binding instead of findViewById
Provides null safety and type safety
2022-02-18 06:09:22 -05:00
MHShetty
5f5e1682a0 Add dark app theme support 2022-02-13 04:19:20 -05:00
Daniel Micay
89e898d81c increment version to 10 2022-02-09 07:08:03 -05:00
smdyv
b5a05055e9 Replace launcher icon 2022-02-09 07:07:39 -05:00
Daniel Micay
80e3d7e4b8 increment version to 9 2022-02-07 00:32:25 -05:00
Daniel Micay
993923ff92 Revert "solve API 30 deprecation with getSystemWindowInsetTop"
This reverts commit 851dd55d43.
2022-02-07 00:31:22 -05:00
flawedworld
17db928149 Update Play Store icon 2022-02-07 00:27:23 -05:00
Daniel Micay
6a129121fb increment version to 8 2022-02-06 22:51:16 -05:00
June
5984291b44 Replace deprecated usages of getActivity with requireActivity, replace onClick with lambda, and use NonNull
Signed-off-by: June <june@eridan.me>
2022-02-05 23:51:21 -05:00
June
61247aaa6a Explicitly require NonNull in areas where it shouldn't/never will be
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
259a2afe7a Don't use C-style arrays, use parseBoolean, remove redundant explicit type
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
91dbb9adfb Don't use mWebView to set WebView debugging
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
851dd55d43 solve API 30 deprecation with getSystemWindowInsetTop
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
June
5494376175 Use expression lambda instead of statement lambda
Signed-off-by: June <june@eridan.me>
2022-02-05 23:50:54 -05:00
flawedworld
a8828e3878 replace icon 2022-02-05 19:23:36 -05:00
June
f81a71bf3d Remove unused label 2022-02-03 11:09:57 -05:00
June
9dca01a0ee Replace valueOf with their respective data type functions 2022-02-03 11:09:57 -05:00
Daniel Micay
8f44fdf862 update SDK and build tools to 32 (Android 12L) 2022-01-26 22:12:29 -05:00
June
9596bcf082 add pdfjs-dist submodule and symlink minified files
This should make the update process of pdf.js far easier and more maintainable as we can just use the pdfjs-dist tags

Signed-off-by: June <june@eridan.me>
2022-01-22 22:12:31 -05:00
June
df63e56bed solve deprecations in app build.gradle.kts
Signed-off-by: June <june@eridan.me>
2022-01-22 20:34:03 -05:00
June
846757d3fb update appcompat and material
Signed-off-by: June <june@eridan.me>
2022-01-22 20:33:31 -05:00
Daniel Micay
94f4cb6362 set Java bytecode version for Kotlin 2021-11-24 23:13:47 -05:00
Daniel Micay
e4b107e1e4 update text layer CSS 2021-11-24 22:22:33 -05:00
Daniel Micay
c7329644b2 disable idle-detection in Permissions-Policy 2021-11-24 02:19:18 -05:00
smdyv
90d4b22799 Add Kotlin Android plugin to module 2021-11-22 10:48:57 -05:00
Daniel Micay
290000687a increment version to 7 2021-11-21 17:42:53 -05:00
Daniel Micay
1c69280219 update pdf.js to 2.10.377 2021-11-21 17:30:18 -05:00
Daniel Micay
24d8d32c5c remove unnecessary lint ignore 2021-11-21 16:05:04 -05:00
Daniel Micay
2cdd5f967e handle deprecation of resource ids as constants 2021-11-21 16:02:22 -05:00
Daniel Micay
fb44da509c return true for action_open 2021-11-21 15:59:45 -05:00
Daniel Micay
6a9f7e11b1 remove setSaveFormData since minSdkVersion >= 26 2021-11-21 15:54:29 -05:00
Daniel Micay
216195954e enable web content debugging in debug builds 2021-11-21 15:49:26 -05:00
Daniel Micay
bcef367a58 replace Feature-Policy with Permissions-Policy 2021-11-21 15:45:58 -05:00
Daniel Micay
262d110266 remove legacy script-src directive 2021-11-21 15:41:15 -05:00
Daniel Micay
0d08f3606d explicitly set pdf.js worker to avoid deprecation 2021-11-21 15:40:04 -05:00
Daniel Micay
a40708ce02 use Gradle Kotlin DSL 2021-11-21 15:10:47 -05:00
Daniel Micay
a68bac16d6 enable strict mode for resource shrinking 2021-11-21 14:54:17 -05:00
smdyv
9ed8422ae7 Renew Google Play icon 2021-11-21 14:46:14 -05:00
smdyv
e41739832e Delete legacy launcher icons
API level 26 introduces adaptive launcher icons.
Our minSdkVersion is 26.
2021-11-21 14:33:22 -05:00
smdyv
4ca7135287 Renew launcher icon 2021-11-21 14:33:22 -05:00
dependabot[bot]
b8c01139d3 Bump appcompat from 1.3.1 to 1.4.0
Bumps appcompat from 1.3.1 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 16:20:33 -05:00
Daniel Micay
eb25091112 target Java 11 2021-09-30 12:16:00 -04:00
June
90b2b5f989 target API 31
API 31 requires intents to set android:exported true or false

Signed-off-by: June <zanthed@riseup.net>
2021-09-29 09:37:57 -04:00
Daniel Micay
a8fcbf6404 update SDK build tools to 31.0.0 2021-09-22 09:20:59 -04:00
Daniel Micay
5e4ca28f75 update SDK to 31 2021-09-22 09:20:32 -04:00
Daniel Micay
6d76e2472c use only double quotes for Gradle Groovy syntax 2021-09-21 14:07:36 -04:00
Daniel Micay
7cd3a188e1 use newer gradle plugins syntax 2021-09-21 14:04:38 -04:00
dependabot[bot]
186fc3a299 Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 17:30:39 -04:00
dependabot[bot]
2a81f0eeb1 Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-03 00:33:58 -04:00