feat: no titlebar on macOS

Fixes #136
This commit is contained in:
lollipopkit
2023-08-18 20:01:18 +08:00
parent fe51669369
commit b5c705a1fe
28 changed files with 290 additions and 204 deletions

View File

@@ -19,6 +19,7 @@ import '../../data/store/private_key.dart';
import '../../data/store/server.dart';
import '../../data/store/snippet.dart';
import '../../locator.dart';
import '../widget/custom_appbar.dart';
const backupFormatVersion = 1;
@@ -34,7 +35,7 @@ class BackupPage extends StatelessWidget {
Widget build(BuildContext context) {
final s = S.of(context)!;
return Scaffold(
appBar: AppBar(
appBar: CustomAppBar(
title: Text(s.backupAndRestore, style: textSize18),
),
body: _buildBody(context, s),