This commit is contained in:
Garth Vander Houwen 2023-08-29 22:25:11 -07:00
parent 9e842e7559
commit 697aed5c61
3 changed files with 8 additions and 18 deletions

View file

@ -84,11 +84,9 @@ struct ChannelList: View {
.foregroundColor(.secondary)
}
}
#if targetEnvironment(macCatalyst)
Image(systemName: "chevron.forward")
.font(.caption)
.foregroundColor(.secondary)
#endif
// Image(systemName: "chevron.forward")
// .font(.caption)
// .foregroundColor(.secondary)
}
if channel.allPrivateMessages.count > 0 {
@ -146,6 +144,7 @@ struct ChannelList: View {
.padding([.top, .bottom])
}
}
.listStyle(.plain)
.navigationTitle("channels")
}
}

View file

@ -13,17 +13,9 @@ struct Messages: View {
@Environment(\.managedObjectContext) var context
@EnvironmentObject var bleManager: BLEManager
@FetchRequest(
sortDescriptors: [NSSortDescriptor(key: "lastMessage", ascending: false), NSSortDescriptor(key: "longName", ascending: true)],
animation: .default)
private var users: FetchedResults<UserEntity>
@State var node: NodeInfoEntity?
@State private var userSelection: UserEntity? // Nothing selected by default.
@State private var channelSelection: ChannelEntity? // Nothing selected by default.
@State private var isPresentingDeleteChannelMessagesConfirm: Bool = false
@State private var isPresentingDeleteUserMessagesConfirm: Bool = false
@State private var isPresentingTraceRouteSentAlert = false
@State private var columnVisibility = NavigationSplitViewVisibility.all

View file

@ -71,11 +71,9 @@ struct UserList: View {
.foregroundColor(.secondary)
}
}
#if targetEnvironment(macCatalyst)
Image(systemName: "chevron.forward")
.font(.caption)
.foregroundColor(.secondary)
#endif
// Image(systemName: "chevron.forward")
// .font(.caption)
// .foregroundColor(.secondary)
}
if user.messageList.count > 0 {
@ -141,6 +139,7 @@ struct UserList: View {
}
}
}
.listStyle(.plain)
.navigationTitle("contacts")
}
}