From a57566dd8455e69abe5f49b5ce9f9541bfa7e021 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 15 Oct 2024 16:55:09 -0400 Subject: [PATCH] Changes the new post screen to use the non-disappearing version of the scaffold. --- .../amethyst/ui/screen/loggedIn/NewPostScreen.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NewPostScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NewPostScreen.kt index fc7485140..4f0196398 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NewPostScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NewPostScreen.kt @@ -78,6 +78,7 @@ import androidx.compose.material3.MaterialTheme import androidx.compose.material3.OutlinedButton import androidx.compose.material3.OutlinedTextField import androidx.compose.material3.OutlinedTextFieldDefaults +import androidx.compose.material3.Scaffold import androidx.compose.material3.Slider import androidx.compose.material3.Surface import androidx.compose.material3.Switch @@ -241,8 +242,7 @@ fun NewPostScreen( NostrSearchEventOrUserDataSource.stop() } } - DisappearingScaffold( - isInvertedLayout = false, + Scaffold( topBar = { TopAppBar( title = { @@ -299,7 +299,6 @@ fun NewPostScreen( ), ) }, - accountViewModel = accountViewModel, ) { pad -> if (showRelaysDialog) { RelaySelectionDialog(