Skip to content

Commit

Permalink
fix disable and flushLogs buttons onPressed calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nika Hassani committed Nov 14, 2023
1 parent 77d0e49 commit 11d0d04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ class _MyHomePageState extends State<MyHomePage> {
}

void _disableLogging() {
Amplify.Logging.enable();
Amplify.Logging.disable();
}

void _flushLogs() {
Amplify.Logging.enable();
Amplify.Logging.flushLogs();
}

void _submitLogs() {
Expand Down

0 comments on commit 11d0d04

Please sign in to comment.