File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/kotlin/com/simplemobiletools/notes/pro/activities Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ android {
5151}
5252
5353dependencies {
54- implementation ' com.simplemobiletools:commons:5.17.0 '
54+ implementation ' com.simplemobiletools:commons:5.17.17 '
5555
5656 kapt ' androidx.room:room-compiler:2.1.0'
5757 implementation ' androidx.room:room-runtime:2.1.0'
Original file line number Diff line number Diff line change @@ -575,7 +575,8 @@ class MainActivity : SimpleActivity() {
575575 }
576576
577577 contentResolver.openOutputStream(document.uri).apply {
578- write(content.toByteArray(Charset .forName(" UTF-8" )), 0 , content.length)
578+ val byteArray = content.toByteArray(Charset .forName(" UTF-8" ))
579+ write(byteArray, 0 , byteArray.size)
579580 flush()
580581 close()
581582 }
You can’t perform that action at this time.
0 commit comments