disable debug update

This commit is contained in:
cheykrym 2025-10-21 05:30:31 +03:00
parent defcdeec33
commit 7a7e1a3d0a

View File

@ -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) // Стандартная высота для нав. бара