mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
multi selection should have the accessory on the leading side
This commit is contained in:
@@ -23,6 +23,15 @@ public struct ListRowAccessory: View {
|
||||
case multiSelected
|
||||
/// An empty circle.
|
||||
case multiUnselected
|
||||
|
||||
var isMultiSelection: Bool {
|
||||
switch self {
|
||||
case .multiSelected, .multiUnselected:
|
||||
true
|
||||
default:
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// A chevron to indicate that the button pushes another screen.
|
||||
|
||||
Reference in New Issue
Block a user