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

@@ -78,7 +78,7 @@ class _PrivateKeyEditPageState extends State<PrivateKeyEditPage> {
);
}
CustomAppBar _buildAppBar() {
AppBar _buildAppBar() {
final actions = [
IconButton(
tooltip: libL10n.delete,
@@ -101,7 +101,7 @@ class _PrivateKeyEditPageState extends State<PrivateKeyEditPage> {
icon: const Icon(Icons.delete),
)
];
return CustomAppBar(
return AppBar(
title: Text(libL10n.edit),
actions: widget.pki == null ? null : actions,
);