disable debug update
This commit is contained in:
parent
defcdeec33
commit
7a7e1a3d0a
@ -100,13 +100,6 @@ struct TopBarView: View {
|
|||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if isChatsTab {
|
|
||||||
Button(action: {
|
|
||||||
NotificationCenter.default.post(name: .debugRefreshChats, object: nil)
|
|
||||||
}) {
|
|
||||||
Text(NSLocalizedString("DEBUG UPDATE", comment: ""))
|
|
||||||
.foregroundColor(.primary)
|
|
||||||
}
|
|
||||||
} else if isProfileTab {
|
} else if isProfileTab {
|
||||||
NavigationLink(destination: SettingsView(viewModel: viewModel)) {
|
NavigationLink(destination: SettingsView(viewModel: viewModel)) {
|
||||||
Image(systemName: "wrench")
|
Image(systemName: "wrench")
|
||||||
@ -114,6 +107,15 @@ struct TopBarView: View {
|
|||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// else if isChatsTab {
|
||||||
|
// Button(action: {
|
||||||
|
// NotificationCenter.default.post(name: .debugRefreshChats, object: nil)
|
||||||
|
// }) {
|
||||||
|
// Text(NSLocalizedString("DEBUG UPDATE", comment: ""))
|
||||||
|
// .foregroundColor(.primary)
|
||||||
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
.frame(height: 50) // Стандартная высота для нав. бара
|
.frame(height: 50) // Стандартная высота для нав. бара
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user