mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Fix multi channel bugs
This commit is contained in:
parent
45e3c08cc0
commit
47271bfbdd
4 changed files with 37 additions and 39 deletions
|
|
@ -27,7 +27,7 @@ struct Contacts: View {
|
|||
|
||||
NavigationSplitView {
|
||||
List {
|
||||
Section(header: Text("Channels")) {
|
||||
Section(header: Text("Channels (groups)")) {
|
||||
// Display Contacts for the rest of the non admin channels
|
||||
if node != nil {
|
||||
ForEach(node!.myInfo!.channels?.array as! [ChannelEntity], id: \.self) { (channel: ChannelEntity) in
|
||||
|
|
@ -91,7 +91,7 @@ struct Contacts: View {
|
|||
.padding(.bottom, 10)
|
||||
}
|
||||
}
|
||||
Section(header: Text("Direct Messages")) {
|
||||
Section(header: Text("Direct Messages (Primary Channel)")) {
|
||||
ForEach(users) { (user: UserEntity) in
|
||||
if user.num != bleManager.userSettings?.preferredNodeNum ?? 0 {
|
||||
NavigationLink(destination: UserMessageList(user: user)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue