File tree Expand file tree Collapse file tree
presentation/profile/widget Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import 'package:firebase_crashlytics/firebase_crashlytics.dart' ;
2+
3+ extension FirebaseCrashlyticsLogger on FirebaseCrashlytics {
4+ static Future <void > log (String message) async {
5+ FirebaseCrashlytics .instance.log (message);
6+ }
7+
8+ static Future <void > warn (
9+ Exception exception,
10+ StackTrace ? stackTrace, {
11+ String ? message,
12+ bool fatal = true ,
13+ }) async {
14+ FirebaseCrashlytics .instance.recordError (
15+ exception,
16+ stackTrace,
17+ reason: message,
18+ fatal: fatal,
19+ );
20+ }
21+ }
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ class CommitmentsTab extends StatelessWidget {
7070 ),
7171 ),
7272 ),
73- if (user == null || (crowdActions ? .isEmpty ?? false )) ...[
74- SignUpCTA (
75- user : user,
76- title : 'View your amazing commitments here' ,
77- ) ,
78- ] ,
73+ ],
74+ if (user == null || (crowdActions ? .isEmpty ?? false )) ...[
75+ SignUpCTA (
76+ user : user ,
77+ title : 'View your amazing commitments here' ,
78+ ) ,
7979 ],
8080 ],
8181 ),
You can’t perform that action at this time.
0 commit comments