Skip to content

Commit dd29126

Browse files
committed
Uncomment setLogEnabled
This was making problems when running the application as a flatpak under linux See #424
1 parent 206e153 commit dd29126

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/main.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
import 'package:flutter/foundation.dart';
2019
import 'package:flutter/material.dart';
2120
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
22-
import 'package:flutter_zxing/flutter_zxing.dart';
2321
import 'package:provider/provider.dart';
2422
import 'package:wger/providers/add_exercise.dart';
2523
import 'package:wger/providers/base_provider.dart';
@@ -54,7 +52,8 @@ import 'package:wger/widgets/core/about.dart';
5452
import 'providers/auth.dart';
5553

5654
void main() {
57-
zx.setLogEnabled(kDebugMode);
55+
//zx.setLogEnabled(kDebugMode);
56+
5857
// Needs to be called before runApp
5958
WidgetsFlutterBinding.ensureInitialized();
6059

0 commit comments

Comments
 (0)