android, desktop: show remote host info (#3423)

* android, desktop: show remote host info

* hide alerts too
This commit is contained in:
Stanislav Dmitrenko
2023-11-22 05:49:39 +08:00
committed by GitHub
parent 64520a4cf4
commit c40bfb0f43
9 changed files with 191 additions and 112 deletions
@@ -8,15 +8,12 @@ import android.provider.MediaStore
import android.webkit.MimeTypeMap
import androidx.compose.ui.platform.ClipboardManager
import androidx.compose.ui.platform.UriHandler
import androidx.core.content.FileProvider
import androidx.core.net.toUri
import chat.simplex.common.helpers.*
import chat.simplex.common.model.*
import chat.simplex.common.views.helpers.*
import java.io.BufferedOutputStream
import java.io.File
import chat.simplex.res.MR
import java.io.ByteArrayOutputStream
actual fun ClipboardManager.shareText(text: String) {
val sendIntent: Intent = Intent().apply {