From 1a5366e5093dff7c97aa8157fb4411367aad6a5b Mon Sep 17 00:00:00 2001 From: franzap <_@franzap.com> Date: Tue, 7 Jan 2025 17:39:44 -0300 Subject: [PATCH] Zap button, clarify zapping latest --- lib/widgets/zap_button.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/widgets/zap_button.dart b/lib/widgets/zap_button.dart index 8b37983..0707f49 100644 --- a/lib/widgets/zap_button.dart +++ b/lib/widgets/zap_button.dart @@ -71,7 +71,11 @@ class ZapButton extends HookConsumerWidget { width: double.maxFinite, child: Column( mainAxisSize: MainAxisSize.min, + spacing: 10, children: [ + if (app.isInstalled && !app.isUpdated) + Text( + '⚠️ Zaps will go toward the latest release (${app.latestMetadata!.version}), not the one currently installed (${app.localApp.value!.installedVersion})'), Consumer( builder: (context, ref, _) { final signedInUser = @@ -104,7 +108,7 @@ class ZapButton extends HookConsumerWidget { FilteringTextInputFormatter.digitsOnly ], ), - Gap(20), + Gap(10), SizedBox( width: double.maxFinite, child: Wrap(