Skip to content

Commit 8f19121

Browse files
committed
update: mirrors link
Signed-off-by: Javad <ja7ad@live.com>
1 parent de74536 commit 8f19121

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
applicationId "com.gofarsi.book"
1111
minSdk 21
1212
targetSdk 32
13-
versionCode 3
14-
versionName "1.0.2"
13+
versionCode 4
14+
versionName "1.0.3"
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
}

app/release/output-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 3,
15-
"versionName": "1.0.2",
14+
"versionCode": 4,
15+
"versionName": "1.0.3",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

app/src/main/java/com/book/gofarsi/WebActivity.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import androidx.appcompat.app.AppCompatActivity
1818

1919
class WebActivity : AppCompatActivity() {
2020
var myWebView: WebView? = null
21-
private val list = arrayListOf("https://book.ir1.gofarsi.ir/", "https://book.gofarsi.ir/", "https://ipfs-book.gofarsi.ir/", "https://book.m2.gofarsi.ir/", "https://book.m1.gofarsi.ir/")
21+
private val list = arrayListOf("https://ir1-book.gofarsi.ir/", "https://book.gofarsi.ir/", "https://ipfs-book.gofarsi.ir/", "https://hku1-book.gofarsi.ir/", "https://aws1-book.gofarsi.ir/")
2222
var urlIndex = 0
2323
var hasErrorInLoading = false
2424
var currentUrl = ""
@@ -56,7 +56,7 @@ class WebActivity : AppCompatActivity() {
5656
Log.d("bootiyar", "onReceivedError")
5757
super.onReceivedError(view, request, error)
5858
hasErrorInLoading = true
59-
if (urlIndex == 3) return
59+
if (urlIndex == list.size - 1) return
6060
myWebView?.loadUrl(list[++urlIndex])
6161
}
6262

@@ -144,4 +144,4 @@ class WebActivity : AppCompatActivity() {
144144
super.onBackPressed()
145145
}
146146
}
147-
}
147+
}

0 commit comments

Comments
 (0)