mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-04-20 18:27:26 +02:00
update commons to 2.16.9
This commit is contained in:
parent
85fbc40941
commit
39fb4c6284
@ -32,7 +32,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.simplemobiletools:commons:2.16.1'
|
||||
compile 'com.simplemobiletools:commons:2.16.9'
|
||||
compile 'com.facebook.stetho:stetho:1.4.1'
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
}
|
||||
|
@ -82,11 +82,6 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
|
||||
updateTextColors(view_pager)
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
config.isFirstRun = false
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
menuInflater.inflate(R.menu.menu, menu)
|
||||
return true
|
||||
@ -205,7 +200,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
|
||||
|
||||
if (needsStupidWritePermissions(path)) {
|
||||
handleSAFDialog(file) {
|
||||
var document = getFileDocument(path, config.treeUri) ?: return@handleSAFDialog
|
||||
var document = getFileDocument(path) ?: return@handleSAFDialog
|
||||
if (!file.exists()) {
|
||||
document = document.createFile("", file.name)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user