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