mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Disables delete draft from swipe from right to left. Only left to right remains available.
This commit is contained in:
parent
1c52887e3a
commit
7fe02fcf2c
@ -84,7 +84,6 @@ fun SwipeToDeleteContainer(
|
||||
)
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalMaterial3Api::class)
|
||||
@Composable
|
||||
fun DismissBackground(dismissState: SwipeToDismissBoxState) {
|
||||
val color by animateColorAsState(
|
||||
|
@ -210,7 +210,7 @@ private fun DraftFeedLoaded(
|
||||
.fillMaxWidth()
|
||||
.animateContentSize(),
|
||||
onStartToEnd = { accountViewModel.delete(item) },
|
||||
onEndToStart = { accountViewModel.delete(item) },
|
||||
onEndToStart = { },
|
||||
) {
|
||||
NoteCompose(
|
||||
item,
|
||||
|
Loading…
x
Reference in New Issue
Block a user