diff --git a/lib/app_info.dart b/lib/app_info.dart index 303b47f..eaceb68 100644 --- a/lib/app_info.dart +++ b/lib/app_info.dart @@ -1,7 +1,5 @@ import 'dart:typed_data'; -import 'package:flutter/material.dart'; - // enum AppProfile { // Work, // Personal diff --git a/lib/apps_list_method_channel.dart b/lib/apps_list_method_channel.dart index 09ca939..31f8116 100644 --- a/lib/apps_list_method_channel.dart +++ b/lib/apps_list_method_channel.dart @@ -19,7 +19,9 @@ class MethodChannelAppsList extends AppsListPlatform { 'serialNumber': serialNumber, }); } on PlatformException { - print('Failed to launch app.'); + if (kDebugMode) { + print('Failed to launch app.'); + } } }