Todo delete + Debug Logging to User
This commit is contained in:
@@ -323,7 +323,7 @@ class Dialogs{
|
||||
}
|
||||
}
|
||||
if(journalId < 0){return;}
|
||||
String title= '${(User.journal[journalId].title!= null && User.journal[journalId].title!.isNotEmpty) ? User.journal[journalId].title : DateFormat('MMMM-dd').format(date)}';
|
||||
String title= (User.journal[journalId].title!= null && User.journal[journalId].title!.isNotEmpty) ? (User.journal[journalId].title! + ' (${(DateFormat('MMMM-dd').format(date))})') : DateFormat('MMMM-dd').format(date);
|
||||
String description = User.journal[journalId].description ?? '';
|
||||
if(description.length > 60){
|
||||
description = description.substring(0,60) + '...(click more for more)';
|
||||
@@ -347,13 +347,13 @@ class Dialogs{
|
||||
onPressed: (){
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: Text('No', style:TextStyle(color: Colors.red)),
|
||||
child: Text('Back', style:TextStyle(color: Colors.red)),
|
||||
),
|
||||
MaterialButton(
|
||||
onPressed: (){
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: Text('Yes', style:TextStyle(color: Colors.green)),
|
||||
child: Text('More', style:TextStyle(color: Colors.green)),
|
||||
)
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user