mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-19 04:18:53 +01:00
Create generic file binder to allow viewing any unhandled mms part type
This commit is contained in:
@@ -245,9 +245,9 @@ class Navigator @Inject constructor(
|
||||
startActivityExternal(intent)
|
||||
}
|
||||
|
||||
fun saveVcard(uri: Uri) {
|
||||
fun openFile(uri: Uri, contentType: String) {
|
||||
val intent = Intent(Intent.ACTION_VIEW)
|
||||
.setDataAndType(uri, "text/x-vcard")
|
||||
.setDataAndType(uri, contentType)
|
||||
|
||||
startActivityExternal(intent)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user