mirror of https://github.com/readrops/Readrops.git
Upgrade sdk version to 30
This commit is contained in:
parent
4251d1dc9f
commit
20ab973934
|
@ -97,8 +97,8 @@ class WebViewActivity : AppCompatActivity() {
|
||||||
super.onBackPressed()
|
super.onBackPressed()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onOptionsItemSelected(item: MenuItem?): Boolean {
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||||
when (item?.itemId) {
|
when (item.itemId) {
|
||||||
android.R.id.home -> {
|
android.R.id.home -> {
|
||||||
if (binding.webView.canGoBack())
|
if (binding.webView.canGoBack())
|
||||||
binding.webView.goBack()
|
binding.webView.goBack()
|
||||||
|
@ -114,7 +114,7 @@ class WebViewActivity : AppCompatActivity() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.onOptionsItemSelected(item!!)
|
return super.onOptionsItemSelected(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun shareLink() {
|
private fun shareLink() {
|
||||||
|
|
|
@ -27,10 +27,10 @@ allprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
compileSdkVersion = 29
|
compileSdkVersion = 30
|
||||||
minSdkVersion = 21
|
minSdkVersion = 21
|
||||||
targetSdkVersion = 29
|
targetSdkVersion = 30
|
||||||
buildToolsVersion = "29.0.3"
|
buildToolsVersion = "30.0.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
task clean(type: Delete) {
|
||||||
|
|
Loading…
Reference in New Issue