android: open file in default app (#5413)

* android: open file in default app

* icon

* changes

* changes

* fix

* allow files without extension
This commit is contained in:
Stanislav Dmitrenko
2024-12-24 19:33:47 +00:00
committed by GitHub
parent e4044f6211
commit d80d2fa156
7 changed files with 177 additions and 8 deletions
@@ -0,0 +1,18 @@
package chat.simplex.common.views.chat.item
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import chat.simplex.common.model.CryptoFile
import java.net.URI
@Composable
actual fun SaveOrOpenFileMenu(
showMenu: MutableState<Boolean>,
encrypted: Boolean,
ext: String?,
encryptedUri: URI,
fileSource: CryptoFile,
saveFile: () -> Unit
) {
}