mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-16 16:33:38 +08:00
FolderListing: Show the number of notes per folder
This commit is contained in:
@ -70,11 +70,13 @@ class FolderTileState extends State<FolderTile> {
|
||||
if (folder.parent == null) {
|
||||
folderName = "Notes";
|
||||
}
|
||||
var subtitle = folder.numberOfNotes.toString() + " Notes";
|
||||
|
||||
return Card(
|
||||
child: ListTile(
|
||||
leading: Icon(Icons.folder),
|
||||
title: Text(folderName),
|
||||
subtitle: Text(subtitle),
|
||||
trailing: trailling,
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user