mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Add a bottom padding in the folderView
This way the FAB bar doesn't cover the last element.
This commit is contained in:
@ -77,7 +77,7 @@ class _FolderViewState extends State<FolderView> {
|
||||
: widget.notesFolder.pathSpec();
|
||||
}
|
||||
|
||||
var folderView = Builder(
|
||||
Widget folderView = Builder(
|
||||
builder: (BuildContext context) {
|
||||
const emptyText = "Let's add some notes?";
|
||||
return buildFolderView(
|
||||
@ -91,6 +91,12 @@ class _FolderViewState extends State<FolderView> {
|
||||
},
|
||||
);
|
||||
|
||||
// So the FAB doesn't hide parts of the last entry
|
||||
folderView = Padding(
|
||||
child: folderView,
|
||||
padding: const EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 48.0),
|
||||
);
|
||||
|
||||
var extraAction = PopupMenuButton<DropDownChoices>(
|
||||
onSelected: (DropDownChoices choice) {
|
||||
switch (choice) {
|
||||
|
Reference in New Issue
Block a user