JournalListing: Show Folder name in title

This commit is contained in:
Vishesh Handa
2019-12-05 17:38:40 +01:00
parent 47f417ab3a
commit 7d223509c8

View File

@ -45,9 +45,11 @@ class JournalListingScreen extends StatelessWidget {
emptyText: "Why not add your first\n Journal Entry?",
);
var title = notesFolder.parent == null ? "Notes" : notesFolder.name;
return Scaffold(
appBar: AppBar(
title: const Text('GitJournal'),
title: Text(title),
leading: GJAppBarMenuButton(),
actions: <Widget>[
IconButton(