Zap button, clarify zapping latest

This commit is contained in:
franzap
2025-01-07 17:39:44 -03:00
parent 78692ed8b4
commit 1a5366e509
+5 -1
View File
@@ -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(