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()
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem?): Boolean {
|
||||
when (item?.itemId) {
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
when (item.itemId) {
|
||||
android.R.id.home -> {
|
||||
if (binding.webView.canGoBack())
|
||||
binding.webView.goBack()
|
||||
|
@ -114,7 +114,7 @@ class WebViewActivity : AppCompatActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
return super.onOptionsItemSelected(item!!)
|
||||
return super.onOptionsItemSelected(item)
|
||||
}
|
||||
|
||||
private fun shareLink() {
|
||||
|
|
|
@ -27,10 +27,10 @@ allprojects {
|
|||
}
|
||||
|
||||
ext {
|
||||
compileSdkVersion = 29
|
||||
compileSdkVersion = 30
|
||||
minSdkVersion = 21
|
||||
targetSdkVersion = 29
|
||||
buildToolsVersion = "29.0.3"
|
||||
targetSdkVersion = 30
|
||||
buildToolsVersion = "30.0.3"
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
|
|
Loading…
Reference in New Issue