mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Show the trailing icon for the current day on rest days as well
This commit is contained in:
@@ -131,8 +131,8 @@ class DayHeader extends StatelessWidget {
|
||||
style: Theme.of(context).textTheme.headlineSmall,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
// subtitle: _dayData.date.isSameDayAs(DateTime.now()) ? Text(i18n.today) : null,
|
||||
leading: const Icon(Icons.hotel),
|
||||
trailing: _dayData.date.isSameDayAs(DateTime.now()) ? const Icon(Icons.today) : null,
|
||||
minLeadingWidth: 8,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user