Skip to content

Commit

Permalink
fix flow checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcoo09 committed Oct 28, 2022
1 parent a2248f9 commit 95d8817
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function ColorSchemeSubscription() {
useEffect(() => {
const subscription = Appearance.addChangeListener(
(preferences: AppearancePreferences) => {
const {colorScheme} = preferences;
setScheme({colorScheme});
const {colorScheme: scheme} = preferences;
setScheme({scheme});
},
);

Expand Down

0 comments on commit 95d8817

Please sign in to comment.