|
@@ -159,7 +159,7 @@ Widget getDayWidget(int timestamp) {
|
|
padding: const EdgeInsets.fromLTRB(10, 8, 0, 10),
|
|
padding: const EdgeInsets.fromLTRB(10, 8, 0, 10),
|
|
alignment: Alignment.centerLeft,
|
|
alignment: Alignment.centerLeft,
|
|
child: Text(
|
|
child: Text(
|
|
- _getDayTitle(timestamp),
|
|
|
|
|
|
+ getDayTitle(timestamp),
|
|
style: TextStyle(
|
|
style: TextStyle(
|
|
fontSize: 14,
|
|
fontSize: 14,
|
|
color: Colors.white.withOpacity(0.85),
|
|
color: Colors.white.withOpacity(0.85),
|
|
@@ -168,7 +168,7 @@ Widget getDayWidget(int timestamp) {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
-String _getDayTitle(int timestamp) {
|
|
|
|
|
|
+String getDayTitle(int timestamp) {
|
|
final date = DateTime.fromMicrosecondsSinceEpoch(timestamp);
|
|
final date = DateTime.fromMicrosecondsSinceEpoch(timestamp);
|
|
final now = DateTime.now();
|
|
final now = DateTime.now();
|
|
var title = getDayAndMonth(date);
|
|
var title = getDayAndMonth(date);
|