From 7a7e1a3d0aa4428c7d3c941eb606a7b3e9e0fa5c Mon Sep 17 00:00:00 2001 From: cheykrym Date: Tue, 21 Oct 2025 05:30:31 +0300 Subject: [PATCH] disable debug update --- yobble/Components/TopBarView.swift | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/yobble/Components/TopBarView.swift b/yobble/Components/TopBarView.swift index 44537ea..3808cb4 100644 --- a/yobble/Components/TopBarView.swift +++ b/yobble/Components/TopBarView.swift @@ -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) // Стандартная высота для нав. бара