Skip to content

Commit 39fb4c6

Browse files
committed
update commons to 2.16.9
1 parent 85fbc40 commit 39fb4c6

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
}
3333

3434
dependencies {
35-
compile 'com.simplemobiletools:commons:2.16.1'
35+
compile 'com.simplemobiletools:commons:2.16.9'
3636
compile 'com.facebook.stetho:stetho:1.4.1'
3737
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
3838
}

app/src/main/kotlin/com/simplemobiletools/notes/activities/MainActivity.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
8282
updateTextColors(view_pager)
8383
}
8484

85-
override fun onDestroy() {
86-
super.onDestroy()
87-
config.isFirstRun = false
88-
}
89-
9085
override fun onCreateOptionsMenu(menu: Menu): Boolean {
9186
menuInflater.inflate(R.menu.menu, menu)
9287
return true
@@ -205,7 +200,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
205200

206201
if (needsStupidWritePermissions(path)) {
207202
handleSAFDialog(file) {
208-
var document = getFileDocument(path, config.treeUri) ?: return@handleSAFDialog
203+
var document = getFileDocument(path) ?: return@handleSAFDialog
209204
if (!file.exists()) {
210205
document = document.createFile("", file.name)
211206
}

0 commit comments

Comments
 (0)