Remove unnecessary delay call.

This commit is contained in:
KotlinGeekDev
2025-03-20 17:30:01 +01:00
parent 5af094ab9b
commit fa7425e114
@@ -65,7 +65,6 @@ import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer
import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer
import com.vitorpamplona.amethyst.ui.theme.ZeroPadding import com.vitorpamplona.amethyst.ui.theme.ZeroPadding
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
@Composable @Composable
@@ -118,7 +117,6 @@ fun FollowSetsActionMenu(
expanded = isMenuOpen, expanded = isMenuOpen,
onDismissRequest = { onDismissRequest = {
uiScope.launch { uiScope.launch {
delay(100L)
setMenuValue(false) setMenuValue(false)
} }
}, },