Skip to content

Commit

Permalink
Merge pull request #35 from Robert3141/beta
Browse files Browse the repository at this point in the history
V3.2.2r2
  • Loading branch information
Robert3141 committed Nov 7, 2020
2 parents bcd0640 + 482dcbd commit 77b9d72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"shared_preferences","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"android":[{"name":"shared_preferences","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"macos":[{"name":"desktop_window","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\desktop_window-0.3.0\\\\","dependencies":[]},{"name":"shared_preferences_macos","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_macos-0.0.1+11\\\\","dependencies":[]}],"linux":[{"name":"desktop_window","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\desktop_window-0.3.0\\\\","dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-0.0.2+4\\\\","dependencies":["path_provider_linux"]}],"windows":[{"name":"desktop_window","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\desktop_window-0.3.0\\\\","dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.4+3\\\\","dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-0.0.1+3\\\\","dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-0.1.2+7\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"desktop_window","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2020-11-07 16:42:29.240019","version":"1.24.0-3.0.pre"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"shared_preferences","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"android":[{"name":"shared_preferences","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"macos":[{"name":"desktop_window","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\desktop_window-0.3.0\\\\","dependencies":[]},{"name":"shared_preferences_macos","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_macos-0.0.1+11\\\\","dependencies":[]}],"linux":[{"name":"desktop_window","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\desktop_window-0.3.0\\\\","dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-0.0.2+4\\\\","dependencies":["path_provider_linux"]}],"windows":[{"name":"desktop_window","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\desktop_window-0.3.0\\\\","dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.4+3\\\\","dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-0.0.1+3\\\\","dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"C:\\\\tools\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-0.1.2+7\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"desktop_window","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2020-11-07 16:55:45.810263","version":"1.24.0-3.0.pre"}
5 changes: 4 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:Connectron/globals.dart' as globals;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:Connectron/UI/UIsettings.dart';
import 'package:dynamic_theme/dynamic_theme.dart';
Expand All @@ -7,7 +8,9 @@ import 'package:desktop_window/desktop_window.dart';

void main() async {
WidgetsFlutterBinding.ensureInitialized();
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
if (kIsWeb
? false
: Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
//await DesktopWindow.setMaxWindowSize(Size.infinite);
await DesktopWindow.setMinWindowSize(Size(400, 500));
}
Expand Down

0 comments on commit 77b9d72

Please sign in to comment.