Skip to content

Commit

Permalink
Merge pull request #41 from FRC2706/dev
Browse files Browse the repository at this point in the history
v1.0.15
  • Loading branch information
jwt2706 authored Mar 12, 2024
2 parents 56d48e2 + 4a3ed0f commit 94658d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/screens/send_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ class _SendDataState extends State<SendData> {
SharedPreferences prefs = await SharedPreferences.getInstance();
bool isAuthenticated = prefs.getBool('isAuthenticated') ?? false;

if (isAuthenticated) {
SnackBar(
content: Text("Authenticated"),
);
} else {
SnackBar(
content: Text("Not authenticated"),
);
}


if (!isAuthenticated) {
String? passcode;
await showDialog<String>(
Expand Down

0 comments on commit 94658d9

Please sign in to comment.