diff --git a/lib/displays_manager.dart b/lib/displays_manager.dart index 113a108..46e53ba 100644 --- a/lib/displays_manager.dart +++ b/lib/displays_manager.dart @@ -1,7 +1,5 @@ import 'dart:async'; import 'dart:convert'; - -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:presentation_displays/display.dart'; @@ -65,9 +63,7 @@ class DisplayManager { List displays = []; for (var element in origins) { final map = jsonDecode(jsonEncode(element)); - displays.add(kReleaseMode - ? displayReleaseFromJson(map as Map) - : displayFromJson(map as Map)); + displays.add(displayFromJson(map as Map)); } return displays; }