mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +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();
|
: widget.notesFolder.pathSpec();
|
||||||
}
|
}
|
||||||
|
|
||||||
var folderView = Builder(
|
Widget folderView = Builder(
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
const emptyText = "Let's add some notes?";
|
const emptyText = "Let's add some notes?";
|
||||||
return buildFolderView(
|
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>(
|
var extraAction = PopupMenuButton<DropDownChoices>(
|
||||||
onSelected: (DropDownChoices choice) {
|
onSelected: (DropDownChoices choice) {
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
|
Reference in New Issue
Block a user