Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: Explicitly return null in CopyNextIntent onInvoke callback

Jude Cooray6291d30043c6
diff --git a/mobile/apps/auth/lib/ui/code_widget.dart b/mobile/apps/auth/lib/ui/code_widget.dart
index aa1891cbb8..51b334364d 100644
--- a/mobile/apps/auth/lib/ui/code_widget.dart
+++ b/mobile/apps/auth/lib/ui/code_widget.dart
@@ -248,9 +248,10 @@ class _CodeWidgetState extends State<CodeWidget> {
onInvoke: (intent) {
if (!widget.code.type.isTOTPCompatible) {
showToast(context, context.l10n.notSupportedForHOTP);
- return;
+ return null;
}
_copyNextToClipboard();
+ return null;
},
),
},