Skip to content

Commit

Permalink
style: Format boolean provider calls
Browse files Browse the repository at this point in the history
  • Loading branch information
yorifuji committed Apr 27, 2024
1 parent ea35bdc commit cb7858d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class App extends ConsumerWidget {
],
supportedLocales: LocalePreference.supportedLocaleList(),
home: ref.watch(
boolPreferenceProvider(BoolPreferenceKey.shouldShowWalkthrough))
boolPreferenceProvider(BoolPreferenceKey.shouldShowWalkthrough),
)
? const WalkthroughPage()
: const NavigationPage(),
),
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/settings/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ class SettingsPage extends ConsumerWidget {
onToggle: (value) => ref
.read(
boolPreferenceProvider(
BoolPreferenceKey.useInternalPlayer)
.notifier,
BoolPreferenceKey.useInternalPlayer,
).notifier,
)
.update(value),
),
Expand Down

0 comments on commit cb7858d

Please sign in to comment.