mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-28 09:56:45 +02:00
Changes the new post screen to use the non-disappearing version of the scaffold.
This commit is contained in:
@@ -78,6 +78,7 @@ import androidx.compose.material3.MaterialTheme
|
|||||||
import androidx.compose.material3.OutlinedButton
|
import androidx.compose.material3.OutlinedButton
|
||||||
import androidx.compose.material3.OutlinedTextField
|
import androidx.compose.material3.OutlinedTextField
|
||||||
import androidx.compose.material3.OutlinedTextFieldDefaults
|
import androidx.compose.material3.OutlinedTextFieldDefaults
|
||||||
|
import androidx.compose.material3.Scaffold
|
||||||
import androidx.compose.material3.Slider
|
import androidx.compose.material3.Slider
|
||||||
import androidx.compose.material3.Surface
|
import androidx.compose.material3.Surface
|
||||||
import androidx.compose.material3.Switch
|
import androidx.compose.material3.Switch
|
||||||
@@ -241,8 +242,7 @@ fun NewPostScreen(
|
|||||||
NostrSearchEventOrUserDataSource.stop()
|
NostrSearchEventOrUserDataSource.stop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DisappearingScaffold(
|
Scaffold(
|
||||||
isInvertedLayout = false,
|
|
||||||
topBar = {
|
topBar = {
|
||||||
TopAppBar(
|
TopAppBar(
|
||||||
title = {
|
title = {
|
||||||
@@ -299,7 +299,6 @@ fun NewPostScreen(
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
accountViewModel = accountViewModel,
|
|
||||||
) { pad ->
|
) { pad ->
|
||||||
if (showRelaysDialog) {
|
if (showRelaysDialog) {
|
||||||
RelaySelectionDialog(
|
RelaySelectionDialog(
|
||||||
|
Reference in New Issue
Block a user