Skip to content

Commit ee76d59

Browse files
Michael77simc
authored andcommitted
Fix missing async declaration (#3)
1 parent 5a69d5b commit ee76d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hive/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class SettingsPage extends StatelessWidget {
8585
SwitchListTile(
8686
value: box['pushMessages'],
8787
title: Text('Send push messages'),
88-
onChanged: (value) {
88+
onChanged: (value) async {
8989
await box.put('pushMessages', !box['pushMessages']);
9090
setState({});
9191
},

0 commit comments

Comments
 (0)