mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Make archive the primary trailing swipe action
This commit is contained in:
parent
3ce6d28d4b
commit
0973ed7243
2 changed files with 6 additions and 6 deletions
|
|
@ -14,7 +14,7 @@ struct LibraryListView: View {
|
|||
listConfig: LibraryListConfig(
|
||||
hasFeatureCards: false,
|
||||
leadingSwipeActions: [.moveToInbox],
|
||||
trailingSwipeActions: [.delete, .archive],
|
||||
trailingSwipeActions: [.archive, .delete],
|
||||
cardStyle: .library
|
||||
)
|
||||
)
|
||||
|
|
@ -23,7 +23,7 @@ struct LibraryListView: View {
|
|||
listConfig: LibraryListConfig(
|
||||
hasFeatureCards: true,
|
||||
leadingSwipeActions: [.pin],
|
||||
trailingSwipeActions: [.delete, .archive],
|
||||
trailingSwipeActions: [.archive, .delete],
|
||||
cardStyle: .library
|
||||
)
|
||||
)
|
||||
|
|
@ -32,7 +32,7 @@ struct LibraryListView: View {
|
|||
listConfig: LibraryListConfig(
|
||||
hasFeatureCards: true,
|
||||
leadingSwipeActions: [.pin],
|
||||
trailingSwipeActions: [.delete, .archive],
|
||||
trailingSwipeActions: [.archive, .delete],
|
||||
cardStyle: .highlights
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ struct LibraryTabView: View {
|
|||
listConfig: LibraryListConfig(
|
||||
hasFeatureCards: false,
|
||||
leadingSwipeActions: [.moveToInbox],
|
||||
trailingSwipeActions: [.delete, .archive],
|
||||
trailingSwipeActions: [.archive, .delete],
|
||||
cardStyle: .library
|
||||
)
|
||||
)
|
||||
|
|
@ -26,7 +26,7 @@ struct LibraryTabView: View {
|
|||
listConfig: LibraryListConfig(
|
||||
hasFeatureCards: true,
|
||||
leadingSwipeActions: [.pin],
|
||||
trailingSwipeActions: [.delete, .archive],
|
||||
trailingSwipeActions: [.archive, .delete],
|
||||
cardStyle: .library
|
||||
)
|
||||
)
|
||||
|
|
@ -35,7 +35,7 @@ struct LibraryTabView: View {
|
|||
listConfig: LibraryListConfig(
|
||||
hasFeatureCards: true,
|
||||
leadingSwipeActions: [.pin],
|
||||
trailingSwipeActions: [.delete, .archive],
|
||||
trailingSwipeActions: [.archive, .delete],
|
||||
cardStyle: .highlights
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue