opt.: app bar

Fixes #727
This commit is contained in:
lollipopkit🏳️‍⚧️
2025-03-20 20:20:13 +08:00
parent dd5fea09b1
commit 24d64b835d
26 changed files with 47 additions and 76 deletions

View File

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