Skip to content

Commit

Permalink
hide debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiller-pwi committed Dec 12, 2024
1 parent 3755a39 commit 515b4dc
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions lib/auth_check.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,18 @@ class AuthCheck extends ViewWidget<AuthCheckViewModel> {
),
],
),
Positioned(
bottom: 20,
left: 0,
right: 0,
child: Center(
child: Text(
"debug info: redirectLoopRunning: ${viewModel.redirectLoopRunning}, authChecked: ${viewModel.authChecked}, isSignedIn: ${viewModel.isSignedIn}, loops: ${viewModel.waitAuthCheckLoops}${viewModel.error != null ? ', error: ${viewModel.error}' : ''}",
style: const TextStyle(fontSize: 16, color: Colors.grey),
if (enableLogs)
Positioned(
bottom: 20,
left: 0,
right: 0,
child: Center(
child: Text(
"debug info: redirectLoopRunning: ${viewModel.redirectLoopRunning}, authChecked: ${viewModel.authChecked}, isSignedIn: ${viewModel.isSignedIn}, loops: ${viewModel.waitAuthCheckLoops}${viewModel.error != null ? ', error: ${viewModel.error}' : ''}",
style: const TextStyle(fontSize: 16, color: Colors.grey),
),
),
),
),
],
),
);
Expand Down

0 comments on commit 515b4dc

Please sign in to comment.