File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -210,19 +210,7 @@ class GoogleSignInBtn extends StatelessWidget {
210
210
try {
211
211
signInWithGoogle ();
212
212
} 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 ());
226
214
}
227
215
},
228
216
color: const Color (0xffFE7F2D ),
@@ -291,19 +279,7 @@ class GitHubSignInBtn extends StatelessWidget {
291
279
try {
292
280
signInWithGitHub ();
293
281
} 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 ());
307
283
}
308
284
}),
309
285
color: const Color (0xffFE7F2D ),
You can’t perform that action at this time.
0 commit comments