Bottom Tab Bar Visibility Adjustment
Nucleic-Session: 747527BF-AEE9-4939-BE70-A14F1F3BBBA8 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -9,10 +9,6 @@ struct SessionsView: View {
|
||||
@State private var showNewChat = false
|
||||
@State private var path = NavigationPath()
|
||||
|
||||
/// The floating New-chat button only makes sense when this device can control a Mac and there's
|
||||
/// at least one project to start a chat in; otherwise the composer it opens would be inert.
|
||||
private var canStartChat: Bool { store.canControl && !store.dashboard.projects.isEmpty }
|
||||
|
||||
private var grouped: [(title: String, rows: [WireSessionSummary])] {
|
||||
let pool = (showArchived ? store.sessions : store.liveSessions)
|
||||
.sorted(by: StatusStyle.attentionThenRecency)
|
||||
|
||||
Reference in New Issue
Block a user