From ee4a0f6c627500114d7a04e7cf8382dc0476cc4c Mon Sep 17 00:00:00 2001 From: flemming-it Date: Thu, 18 Jun 2026 12:53:35 +0200 Subject: [PATCH] =?UTF-8?q?fix(ui):=20window=20title=20Ch=E2=88=86In=20Stu?= =?UTF-8?q?dio=20(was=20F=E2=88=86I);=20de-dup=20federation=20add-satellit?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - linux/macOS window chrome read 'F∆I Studio' (rename leftover) → 'Ch∆In Studio'. - The federation page showed 'Add satellite' twice when empty (FAB + empty-state button); drop the empty-state button, the FAB carries the action. Signed-off-by: flemming-it --- lib/pages/federation.dart | 8 +++----- linux/runner/my_application.cc | 4 ++-- macos/Runner/Info.plist | 4 ++-- macos/Runner/MainFlutterWindow.swift | 4 ++-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lib/pages/federation.dart b/lib/pages/federation.dart index b82baaf..3e26988 100644 --- a/lib/pages/federation.dart +++ b/lib/pages/federation.dart @@ -131,15 +131,13 @@ class _FederationPageState extends State { } final sats = snapshot.data ?? []; if (sats.isEmpty) { + // The "add satellite" action lives in the FAB (always + // visible); don't repeat it here — that showed the button + // twice on the empty page. return ChainEmptyState( icon: Icons.hub_outlined, title: l.federationEmptyTitle, hint: l.federationEmptyHint, - action: FilledButton.icon( - onPressed: _addSatellite, - icon: const Icon(Icons.add_link, size: 16), - label: Text(l.federationAddSatellite), - ), ); } return ListView.separated( diff --git a/linux/runner/my_application.cc b/linux/runner/my_application.cc index 12ee6f6..b1be57a 100644 --- a/linux/runner/my_application.cc +++ b/linux/runner/my_application.cc @@ -45,11 +45,11 @@ static void my_application_activate(GApplication* application) { if (use_header_bar) { GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "F\u2206I Studio"); + gtk_header_bar_set_title(header_bar, "Ch\u2206In Studio"); gtk_header_bar_set_show_close_button(header_bar, TRUE); gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); } else { - gtk_window_set_title(window, "F\u2206I Studio"); + gtk_window_set_title(window, "Ch\u2206In Studio"); } gtk_window_set_default_size(window, 1280, 900); diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist index 3d844e0..d4b23dd 100644 --- a/macos/Runner/Info.plist +++ b/macos/Runner/Info.plist @@ -13,9 +13,9 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - F∆I Studio + Ch∆In Studio CFBundleDisplayName - F∆I Studio + Ch∆In Studio CFBundlePackageType APPL CFBundleShortVersionString diff --git a/macos/Runner/MainFlutterWindow.swift b/macos/Runner/MainFlutterWindow.swift index a856fe1..34a6e03 100644 --- a/macos/Runner/MainFlutterWindow.swift +++ b/macos/Runner/MainFlutterWindow.swift @@ -7,9 +7,9 @@ class MainFlutterWindow: NSWindow { self.contentViewController = flutterViewController // Override the window title so the OS task switcher and - // window chrome read "F∆I Studio" instead of the + // window chrome read "Ch∆In Studio" instead of the // pubspec-derived "chain_studio". - self.title = "F∆I Studio" + self.title = "Ch∆In Studio" // Pick a comfortable default window size. 1440x900 is the // effective Retina resolution of a 13" MacBook (Stefan's