mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
refactor: disable sentry for now.
This commit is contained in:
parent
2e050d06e8
commit
e7490b8d75
@ -11,10 +11,8 @@ import 'package:revanced_manager/ui/views/navigation/navigation_view.dart';
|
||||
import 'package:stacked_themes/stacked_themes.dart';
|
||||
import 'package:sentry_flutter/sentry_flutter.dart';
|
||||
import 'package:timezone/data/latest.dart' as tz;
|
||||
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
||||
|
||||
Future main() async {
|
||||
await dotenv.load();
|
||||
await ThemeManager.initialise();
|
||||
await setupLocator();
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
@ -30,7 +28,7 @@ Future main() async {
|
||||
await SentryFlutter.init(
|
||||
(options) {
|
||||
options
|
||||
..dsn = isSentryEnabled ? dotenv.env['sentryDSN'] : ''
|
||||
..dsn = isSentryEnabled ? '' : ''
|
||||
..environment = 'alpha'
|
||||
..release = '0.1'
|
||||
..tracesSampleRate = 1.0
|
||||
|
Loading…
Reference in New Issue
Block a user