mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-18 16:10:24 +08:00
1.4.2
修复无法访问主页
This commit is contained in:
@@ -4,13 +4,13 @@ apply plugin: 'kotlin-android-extensions'
|
||||
apply plugin: 'AndResGuard'
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
compileSdkVersion 31
|
||||
buildToolsVersion "30.0.2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "top.fumiama.copymanga"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
targetSdkVersion 31
|
||||
versionCode 12
|
||||
versionName '1.4.1'
|
||||
resConfigs "zh", "zh-rCN"
|
||||
@@ -51,15 +51,15 @@ android {
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation 'androidx.core:core-ktx:1.3.2'
|
||||
implementation 'androidx.core:core-ktx:1.8.0'
|
||||
//implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.cardview:cardview:1.0.0'
|
||||
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
||||
//implementation 'com.google.android.material:material:1.2.1'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
||||
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme" >
|
||||
<activity android:name=".activity.MainActivity">
|
||||
<activity android:name=".activity.MainActivity" android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
||||
@@ -24,7 +24,7 @@ class WebViewClient(private val context: Context, jsFileName: String):WebViewCli
|
||||
override fun onPageFinished(view: WebView?, url: String?) {
|
||||
super.onPageFinished(view, url)
|
||||
url?.let {
|
||||
view?.loadUrl(js)
|
||||
view?.postDelayed({view.loadUrl(js)}, 1000)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<resources>
|
||||
<string name="app_name">拷贝漫画</string>
|
||||
<string name="web_home">https://www.copymanga.com/h5/init</string>
|
||||
<string name="web_home">https://copymanga.net/h5/init</string>
|
||||
<string name="web_home_www">https://www.copymanga.net</string>
|
||||
<string name="web_comic_detail_pc">https://www.copymanga.net/comic</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user