fix: code editor tool bar (#933)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-10 09:14:41 +08:00
committed by GitHub
parent bb3e3b4848
commit bd949288ed
13 changed files with 26 additions and 345 deletions

View File

@@ -42,9 +42,9 @@ final class _TopBar extends ConsumerWidget implements PreferredSizeWidget {
}
final total = order.length;
final connectionText = '$connected/$total ${context.l10n.conn}';
leading = Text(
connectionText,
style: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
leading = InkWell(
onTap: () => ConnectionStatsPage.route.go(context),
child: Text(connectionText, style: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600)),
);
}