mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
Update Readme files
Change version code and version name Update some strings
This commit is contained in:
@@ -70,11 +70,7 @@ val exportFilePath = MutableStateFlow<String?>(null)
|
||||
fun registerActivityResult(context: ComponentActivity){
|
||||
getFile = context.registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { activityResult ->
|
||||
activityResult.data.let {
|
||||
if(it == null){
|
||||
Toast.makeText(context.applicationContext, R.string.file_not_exist, Toast.LENGTH_SHORT).show()
|
||||
} else {
|
||||
fileUriFlow.value = it.data
|
||||
}
|
||||
if(it != null) fileUriFlow.value = it.data
|
||||
}
|
||||
}
|
||||
createManagedProfile = context.registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {}
|
||||
|
||||
Reference in New Issue
Block a user