Skip to content

Commit 9628dc3

Browse files
committed
changed error message for account_page
1 parent a5371f3 commit 9628dc3

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

lib/account_page.dart

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -210,19 +210,7 @@ class GoogleSignInBtn extends StatelessWidget {
210210
try {
211211
signInWithGoogle();
212212
} catch (error) {
213-
showDialog(
214-
context: context,
215-
builder: (BuildContext context) {
216-
return AlertDialog(
217-
title: const Text("So ein Scheiß"),
218-
content: Text(error.toString()),
219-
actions: [
220-
TextButton(
221-
onPressed: () => Navigator.pop(context),
222-
child: const Text("doof"))
223-
],
224-
);
225-
});
213+
debugPrint(error.toString());
226214
}
227215
},
228216
color: const Color(0xffFE7F2D),
@@ -291,19 +279,7 @@ class GitHubSignInBtn extends StatelessWidget {
291279
try {
292280
signInWithGitHub();
293281
} catch (error) {
294-
showDialog(
295-
context: context,
296-
builder: (BuildContext context) {
297-
return AlertDialog(
298-
title: const Text("So ein Scheiß"),
299-
content: Text(error.toString()),
300-
actions: [
301-
TextButton(
302-
onPressed: () => Navigator.pop(context),
303-
child: const Text("doof"))
304-
],
305-
);
306-
});
282+
debugPrint(error.toString());
307283
}
308284
}),
309285
color: const Color(0xffFE7F2D),

0 commit comments

Comments
 (0)