@@ -32,7 +32,6 @@ import androidx.compose.runtime.LaunchedEffect
3232import androidx.compose.runtime.getValue
3333import androidx.compose.runtime.mutableStateOf
3434import androidx.compose.runtime.remember
35- import androidx.compose.runtime.rememberCoroutineScope
3635import androidx.compose.runtime.setValue
3736import androidx.compose.ui.Alignment
3837import androidx.compose.ui.Modifier
@@ -57,7 +56,6 @@ import com.google.mlkit.vision.barcode.common.Barcode
5756import com.google.mlkit.vision.common.InputImage
5857import kotlinx.coroutines.Dispatchers
5958import kotlinx.coroutines.delay
60- import kotlinx.coroutines.launch
6159import kotlinx.coroutines.withContext
6260import to.bitkit.R
6361import to.bitkit.ext.startActivityAppSettings
@@ -90,7 +88,6 @@ fun SendRecipientScreen(
9088 onEvent : (SendEvent ) -> Unit ,
9189 modifier : Modifier = Modifier ,
9290) {
93- val scope = rememberCoroutineScope()
9491 val app = appViewModel
9592
9693 // Context & lifecycle
@@ -261,9 +258,7 @@ fun SendRecipientScreen(
261258 }
262259 },
263260 onClickContact = {
264- scope.launch {
265- app?.toast(Exception (" Coming soon: Contact" ))
266- }
261+ app?.toast(Exception (" Coming soon: Contact" ))
267262 },
268263 onClickPaste = { onEvent(SendEvent .Paste ) },
269264 onClickManual = { onEvent(SendEvent .EnterManually ) },
0 commit comments