diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 8b58192..507580d 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -529,7 +529,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MARKETING_VERSION = 0.0.30; + MARKETING_VERSION = 0.0.31; PRODUCT_BUNDLE_IDENTIFIER = net.defined.mobileNebula; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; @@ -559,7 +559,7 @@ INFOPLIST_FILE = NebulaNetworkExtension/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - MARKETING_VERSION = 0.0.30; + MARKETING_VERSION = 0.0.31; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; OTHER_LDFLAGS = ""; @@ -594,7 +594,7 @@ INFOPLIST_FILE = NebulaNetworkExtension/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - MARKETING_VERSION = 0.0.30; + MARKETING_VERSION = 0.0.31; MTL_FAST_MATH = YES; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = net.defined.mobileNebula.NebulaNetworkExtension; @@ -626,7 +626,7 @@ INFOPLIST_FILE = NebulaNetworkExtension/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - MARKETING_VERSION = 0.0.30; + MARKETING_VERSION = 0.0.31; MTL_FAST_MATH = YES; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = net.defined.mobileNebula.NebulaNetworkExtension; @@ -768,7 +768,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MARKETING_VERSION = 0.0.30; + MARKETING_VERSION = 0.0.31; PRODUCT_BUNDLE_IDENTIFIER = net.defined.mobileNebula; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; @@ -801,7 +801,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MARKETING_VERSION = 0.0.30; + MARKETING_VERSION = 0.0.31; PRODUCT_BUNDLE_IDENTIFIER = net.defined.mobileNebula; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; diff --git a/lib/main.dart b/lib/main.dart index 329d8c1..f0bf033 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -78,6 +78,7 @@ class _AppState extends State { child: PlatformProvider( //initialPlatform: initialPlatform, builder: (context) => PlatformApp( + debugShowCheckedModeBanner: false, localizationsDelegates: >[ DefaultMaterialLocalizations.delegate, DefaultWidgetsLocalizations.delegate, diff --git a/lib/models/Site.dart b/lib/models/Site.dart index 11a0877..f981b38 100644 --- a/lib/models/Site.dart +++ b/lib/models/Site.dart @@ -57,11 +57,11 @@ class Site { this.port = 0, this.cipher = "aes", this.sortKey, - this.mtu, + this.mtu = 1300, this.connected, this.status, this.logFile, - this.logVerbosity, + this.logVerbosity = 'info', errors, unsafeRoutes}) : staticHostmap = staticHostmap ?? {}, diff --git a/lib/screens/MainScreen.dart b/lib/screens/MainScreen.dart index d8bc08e..5f9b72b 100644 --- a/lib/screens/MainScreen.dart +++ b/lib/screens/MainScreen.dart @@ -88,7 +88,7 @@ class _MainScreenState extends State { Widget _buildNoSites() { return Padding( padding: const EdgeInsets.all(8.0), - child: Column( + child: Center(child: Column( children: [ Padding( padding: const EdgeInsets.fromLTRB(0, 8.0, 0, 8.0), @@ -98,7 +98,7 @@ class _MainScreenState extends State { textAlign: TextAlign.center), ], ), - ); + )); } Widget _buildSites() { diff --git a/pubspec.yaml b/pubspec.yaml index 17a81cd..62a2c8d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: Mobile Nebula Client # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+30 +version: 1.0.0+31 environment: sdk: ">=2.1.0 <3.0.0"