Skip to content

Commit 0523d4e

Browse files
terrier989Copilot
andauthored
Update cryptography_flutter/lib/src/flutter/flutter_ecdh.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b76ba0a commit 0523d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptography_flutter/lib/src/flutter/flutter_ecdh.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class FlutterEcdh extends Ecdh implements PlatformCryptographicAlgorithm {
5858

5959
@override
6060
bool get isSupportedPlatform => isAndroid || isCupertino;
61-
61+
bool get isSupportedPlatform => FlutterCryptography.isPluginPresent && (isAndroid || isCupertino);
6262
String get _curveName {
6363
switch (keyPairType) {
6464
case KeyPairType.p256:

0 commit comments

Comments
 (0)