refactor: Remove AppTitleBar widget and its references from various screens

This commit is contained in:
2026-05-20 20:16:57 +02:00
parent 2d76dd2a43
commit bed34f4cb5
9 changed files with 2 additions and 274 deletions
+1 -4
View File
@@ -485,20 +485,17 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
return LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
final double maxWidth = math.min(constraints.maxWidth - 32, 600);
final double maxHeight = math.min(constraints.maxHeight - 64, 720);
final double overlayTop = MediaQuery.paddingOf(context).top + 32;
final double maxHeight = math.min(constraints.maxHeight - 32, 720);
return Stack(
children: [
Positioned.fill(
top: overlayTop,
child: ModalBarrier(
dismissible: false,
color: const Color.fromARGB(54, 0, 0, 0).withValues(alpha: 0.5),
),
),
Positioned.fill(
top: overlayTop,
child: Center(
child: SizedBox(
width: maxWidth,