mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
refactor: disable sentry for now.
This commit is contained in:
parent
2e050d06e8
commit
e7490b8d75
2 changed files with 1 additions and 3 deletions
|
@ -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 a new issue