mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
JournalListing: Show Folder name in title
This commit is contained in:
@ -45,9 +45,11 @@ class JournalListingScreen extends StatelessWidget {
|
|||||||
emptyText: "Why not add your first\n Journal Entry?",
|
emptyText: "Why not add your first\n Journal Entry?",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
var title = notesFolder.parent == null ? "Notes" : notesFolder.name;
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('GitJournal'),
|
title: Text(title),
|
||||||
leading: GJAppBarMenuButton(),
|
leading: GJAppBarMenuButton(),
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
IconButton(
|
||||||
|
Reference in New Issue
Block a user