|
|
|
|
@ -24,6 +24,7 @@ import 'package:intl/intl.dart';
|
|
|
|
|
import 'package:matrix/encryption.dart';
|
|
|
|
|
import 'package:matrix/matrix.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:sentry_flutter/sentry_flutter.dart';
|
|
|
|
|
import 'package:shared_preferences/shared_preferences.dart';
|
|
|
|
|
import 'package:universal_html/html.dart' as html;
|
|
|
|
|
import 'package:url_launcher/url_launcher_string.dart';
|
|
|
|
|
@ -241,6 +242,14 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|
|
|
|
}
|
|
|
|
|
initLoadingDialog();
|
|
|
|
|
// #Pangea
|
|
|
|
|
Sentry.configureScope(
|
|
|
|
|
(scope) => scope.setUser(
|
|
|
|
|
SentryUser(
|
|
|
|
|
id: client.userID,
|
|
|
|
|
name: client.userID,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
pangeaController = PangeaController(matrix: widget, matrixState: this);
|
|
|
|
|
// PAuthGaurd.isLogged = client.isLogged();
|
|
|
|
|
// Pangea#
|
|
|
|
|
|