diff --git a/.drone.yml b/.drone.yml index 205c0142..b2995456 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: # #Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting - name: build-linux - image: openpriv/flutter-desktop:linux-fstable-3.3.8 + image: openpriv/flutter-desktop:linux-fstable-3.3.9 volumes: - name: deps path: /root/.pub-cache diff --git a/lib/cwtch/ffi.dart b/lib/cwtch/ffi.dart index d9f3856d..60a6bb25 100644 --- a/lib/cwtch/ffi.dart +++ b/lib/cwtch/ffi.dart @@ -312,7 +312,7 @@ class CwtchFfi implements Cwtch { // ignore: non_constant_identifier_names void DeactivatePeerEngine(String profile) { - var deactivatePeerEngineC = library.lookup>("c_ActivatePeerEngine"); + var deactivatePeerEngineC = library.lookup>("c_DeactivatePeerEngine"); final DeactivatePeerEngine = deactivatePeerEngineC.asFunction(); final ut8profile = profile.toNativeUtf8(); DeactivatePeerEngine(ut8profile, ut8profile.length); diff --git a/lib/views/addeditprofileview.dart b/lib/views/addeditprofileview.dart index 4214ffa1..7a48cac6 100644 --- a/lib/views/addeditprofileview.dart +++ b/lib/views/addeditprofileview.dart @@ -172,7 +172,7 @@ class _AddEditProfileViewState extends State { // Enabled Visibility( - visible: Provider.of(context).onion.isNotEmpty, + visible: Provider.of(context).onion.isNotEmpty && !Provider.of(context).enabled, child: SwitchListTile( title: Text(AppLocalizations.of(context)!.profileEnabled, style: TextStyle(color: Provider.of(context).current().mainTextColor)), subtitle: Text(AppLocalizations.of(context)!.profileEnabledDescription), diff --git a/pubspec.yaml b/pubspec.yaml index f026b451..cc2a8d28 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # 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.9.0+35 +version: 1.10.0+36 environment: sdk: ">=2.15.0 <3.0.0"