Skip to content

Commit

Permalink
Correct initial colors
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Aug 12, 2021
1 parent 54cec05 commit 17aa020
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/redux/ui/pref_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ abstract class PrefState implements Built<PrefState, PrefStateBuilder> {
static void _initializeBuilder(PrefStateBuilder builder) => builder
..useSidebarEditor.replace(BuiltMap<EntityType, bool>())
..sortFields.replace(BuiltMap<EntityType, PrefStateSortField>())
..customColors.replace(BuiltMap<String, String>(PrefState.CONTRAST_COLORS))
..customColors.replace(builder.enableDarkMode
? BuiltMap<String, String>()
: BuiltMap<String, String>(PrefState.CONTRAST_COLORS))
..showKanban = false
..isPreviewEnabled = true
..colorTheme = kColorThemeLight;
..colorTheme = builder.enableDarkMode ? kColorThemeLight : kColorThemeLight;

static Serializer<PrefState> get serializer => _$prefStateSerializer;
}
Expand Down

0 comments on commit 17aa020

Please sign in to comment.