mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
App Layout: added space invites in space bottom sheet
This commit is contained in:
+5
-1
@@ -54,6 +54,8 @@ struct SpaceSelectorListItemData {
|
||||
let highlightedNotificationCount: UInt
|
||||
/// Indicates if the space has sub spaces (condition the display of the disclosure button)
|
||||
let hasSubItems: Bool
|
||||
/// Indicates if the space has has already been joined
|
||||
let isJoined: Bool
|
||||
|
||||
init(id: String,
|
||||
avatar: AvatarInput? = nil,
|
||||
@@ -61,7 +63,8 @@ struct SpaceSelectorListItemData {
|
||||
displayName: String?,
|
||||
notificationCount: UInt = 0,
|
||||
highlightedNotificationCount: UInt = 0,
|
||||
hasSubItems: Bool = false) {
|
||||
hasSubItems: Bool = false,
|
||||
isJoined: Bool = false) {
|
||||
self.id = id
|
||||
self.avatar = avatar
|
||||
self.icon = icon
|
||||
@@ -69,6 +72,7 @@ struct SpaceSelectorListItemData {
|
||||
self.notificationCount = notificationCount
|
||||
self.highlightedNotificationCount = highlightedNotificationCount
|
||||
self.hasSubItems = hasSubItems
|
||||
self.isJoined = isJoined
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user