File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
common/src/androidMain/kotlin/cz/frantisekmasa/wfrp_master/common/invitation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import androidx.compose.material.icons.rounded.Share
1212import androidx.compose.runtime.Composable
1313import androidx.compose.runtime.LaunchedEffect
1414import androidx.compose.runtime.mutableStateOf
15+ import androidx.compose.runtime.remember
1516import androidx.compose.ui.Modifier
1617import androidx.compose.ui.platform.LocalContext
1718import androidx.compose.ui.text.style.TextAlign
@@ -31,7 +32,7 @@ import kotlinx.coroutines.withContext
3132
3233@Composable
3334actual fun InvitationDialogContent (invitation : Invitation , screenModel : InvitationScreenModel ) {
34- val (sharingOptions, setSharingOptions) = mutableStateOf<SharingOptions ?>(null )
35+ val (sharingOptions, setSharingOptions) = remember { mutableStateOf<SharingOptions ?>(null ) }
3536
3637 LaunchedEffect (invitation) {
3738 setSharingOptions(buildSharingOptions(invitation, screenModel))
You can’t perform that action at this time.
0 commit comments