diff --git a/lib/editors/common.dart b/lib/editors/common.dart index e553b5f8..49fde6a1 100644 --- a/lib/editors/common.dart +++ b/lib/editors/common.dart @@ -133,32 +133,34 @@ class EditorBottomBar extends StatelessWidget { }, ); - return BottomAppBar( - elevation: 0.0, + return Container( color: Theme.of(context).scaffoldBackgroundColor, - child: Row( - children: [ - Visibility( - child: addIcon, - visible: allowEdits, - maintainSize: true, - maintainAnimation: true, - maintainState: true, - maintainInteractivity: false, - ), - Expanded( - child: FlatButton.icon( - icon: const Icon(Icons.folder), - label: Text(parentFolder.publicName), - onPressed: () { - var note = editorState.getNote(); - editor.moveNoteToFolderSelected(note); - }, + child: SafeArea( + top: false, + child: Row( + children: [ + Visibility( + child: addIcon, + visible: allowEdits, + maintainSize: true, + maintainAnimation: true, + maintainState: true, + maintainInteractivity: false, ), - ), - menuIcon, - ], - mainAxisAlignment: MainAxisAlignment.center, + Expanded( + child: FlatButton.icon( + icon: const Icon(Icons.folder), + label: Text(parentFolder.publicName), + onPressed: () { + var note = editorState.getNote(); + editor.moveNoteToFolderSelected(note); + }, + ), + ), + menuIcon, + ], + mainAxisAlignment: MainAxisAlignment.center, + ), ), ); }