mirror of
https://github.com/hamaluik/timecop.git
synced 2025-08-26 08:41:31 +08:00
Tiny refactors
This commit is contained in:
@ -58,7 +58,6 @@ enum FilterPreset {
|
||||
|
||||
String display(BuildContext context, int defaultFilterDays) {
|
||||
switch (this) {
|
||||
//TODO make translatable
|
||||
case FilterPreset.thisWeek:
|
||||
return L10N.of(context).tr.thisWeek;
|
||||
case FilterPreset.thisMonth:
|
||||
|
@ -127,7 +127,7 @@ class ThemeUtil {
|
||||
dividerTheme:
|
||||
DividerThemeData(color: colors.onBackground.withAlpha(31)),
|
||||
floatingActionButtonTheme: FloatingActionButtonThemeData(
|
||||
shape: StadiumBorder(),
|
||||
shape: const StadiumBorder(),
|
||||
backgroundColor: colors.primary,
|
||||
foregroundColor: colors.onPrimary),
|
||||
textButtonTheme: TextButtonThemeData(
|
||||
|
Reference in New Issue
Block a user