mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-05 06:56:49 -05:00
simplify the uri sharing
This commit is contained in:
@@ -15,11 +15,7 @@ fun Activity.shareUri(uri: Uri) {
|
||||
}
|
||||
|
||||
fun Activity.shareUris(uris: ArrayList<Uri>) {
|
||||
if (uris.size == 1) {
|
||||
shareUri(uris.first())
|
||||
} else {
|
||||
shareUris(uris, BuildConfig.APPLICATION_ID)
|
||||
}
|
||||
shareUris(uris, BuildConfig.APPLICATION_ID)
|
||||
}
|
||||
|
||||
fun Activity.openFile(uri: Uri, forceChooser: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user