mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-23 20:10:07 +01:00
hide the keyboard at using Open file and Export as file
This commit is contained in:
parent
d2d4186d2e
commit
d2e582419e
@ -616,6 +616,7 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun tryOpenFile() {
|
||||
hideKeyboard()
|
||||
if (hasPermission(PERMISSION_READ_STORAGE)) {
|
||||
openFile()
|
||||
} else {
|
||||
@ -804,6 +805,7 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun tryExportAsFile() {
|
||||
hideKeyboard()
|
||||
if (hasPermission(PERMISSION_WRITE_STORAGE)) {
|
||||
exportAsFile()
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user