Skip to content

Commit

Permalink
add back crshlyrics
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranpirwani committed Mar 17, 2020
1 parent ab09a2c commit a2aee2d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions lib/main.dart
Expand Up @@ -25,17 +25,14 @@ import 'package:sudoku_brain/screens/tutorial/tutorial_screen.dart';
import 'package:sudoku_brain/utils/Constants.dart';

void main() {
// Crashlytics.instance.enableInDevMode = true;
// runZoned(() {
// WidgetsFlutterBinding.ensureInitialized();
// SystemChrome.setPreferredOrientations(
// [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]).then(
// (_) => runApp(MyApp()),
// );
// }, onError: Crashlytics.instance.recordError);

runApp(MyApp());

Crashlytics.instance.enableInDevMode = true;
runZoned(() {
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]).then(
(_) => runApp(MyApp()),
);
}, onError: Crashlytics.instance.recordError);
}

class MyApp extends StatelessWidget {
Expand Down

0 comments on commit a2aee2d

Please sign in to comment.