Disable overscroll

This commit is contained in:
WardPearce
2025-01-27 19:34:20 +13:00
parent c3d90b35c9
commit dad9e24fca
7 changed files with 17 additions and 9 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 85
versionName "1.7.3"
versionCode 86
versionName "1.7.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -1,6 +1,7 @@
package us.materialio.app;
import android.os.Bundle;
import android.webkit.WebView;
import com.getcapacitor.BridgeActivity;
@@ -10,4 +11,11 @@ public class MainActivity extends BridgeActivity {
registerPlugin(ColorTheme.class);
super.onCreate(savedInstanceState);
}
@Override
public void onStart() {
super.onStart();
WebView webview = getBridge().getWebView();
webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
}
}
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "Materialious",
"version": "1.6.27",
"version": "1.7.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "Materialious",
"version": "1.6.27",
"version": "1.7.4",
"license": "MIT",
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.7.3",
"version": "1.7.4",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "materialious",
"version": "1.6.30",
"version": "1.7.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "materialious",
"version": "1.6.30",
"version": "1.7.4",
"dependencies": {
"@capacitor-community/electron": "^5.0.1",
"@capacitor/android": "^6.1.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.7.3",
"version": "1.7.4",
"private": true,
"scripts": {
"dev": "vite dev",
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.7.3"
LATEST_VERSION = "1.7.4"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")