opt: window title bar (#672)

* opt: window title bar

* rm: `VirtualWindowFrame` on `SettingsPage`
This commit is contained in:
Noo6
2025-01-10 15:19:03 +08:00
committed by GitHub
parent e7a5f43cc4
commit 0ae0241800
20 changed files with 24 additions and 24 deletions

View File

@@ -87,7 +87,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
final s = widget.spi.server;
if (s == null) {
return Scaffold(
appBar: const CustomAppBar(),
appBar: AppBar(),
body: Center(child: Text(libL10n.empty)),
);
}
@@ -120,8 +120,8 @@ class _ServerDetailPageState extends State<ServerDetailPage>
);
}
CustomAppBar _buildAppBar(Server si) {
return CustomAppBar(
AppBar _buildAppBar(Server si) {
return AppBar(
title: Hero(
tag: 'home_card_title_${si.spi.id}',
transitionOnUserGestures: true,