Make archive the primary trailing swipe action
This commit is contained in:
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user