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