Fix log viewer

This commit is contained in:
vishnukvmd 2022-11-01 15:31:26 +05:30
parent 3a0a43e447
commit 270d5540c6

View file

@ -5,8 +5,10 @@ import 'dart:io';
import 'package:archive/archive_io.dart'; import 'package:archive/archive_io.dart';
import 'package:email_validator/email_validator.dart'; import 'package:email_validator/email_validator.dart';
import 'package:ente_auth/core/configuration.dart'; import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/core/logging/super_logging.dart';
import 'package:ente_auth/ente_theme_data.dart'; import 'package:ente_auth/ente_theme_data.dart';
import 'package:ente_auth/ui/common/dialogs.dart'; import 'package:ente_auth/ui/common/dialogs.dart';
import 'package:ente_auth/ui/tools/debug/log_file_viewer.dart';
// import 'package:ente_auth/ui/tools/debug/log_file_viewer.dart'; // import 'package:ente_auth/ui/tools/debug/log_file_viewer.dart';
import 'package:ente_auth/utils/dialog_util.dart'; import 'package:ente_auth/utils/dialog_util.dart';
import 'package:ente_auth/utils/toast_util.dart'; import 'package:ente_auth/utils/toast_util.dart';
@ -60,7 +62,7 @@ Future<void> sendLogs(
showDialog( showDialog(
context: context, context: context,
builder: (BuildContext context) { builder: (BuildContext context) {
// return LogFileViewer(SuperLogging.logFile); return LogFileViewer(SuperLogging.logFile);
}, },
barrierColor: Colors.black87, barrierColor: Colors.black87,
barrierDismissible: false, barrierDismissible: false,