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

@@ -42,7 +42,7 @@ final class _SystemdPageState extends State<SystemdPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
appBar: CustomAppBar(
title: const Text('Systemd'),
actions: isDesktop
? [Btn.icon(icon: const Icon(Icons.refresh), onTap: _pro.getUnits)]