We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 751254e commit 693218cCopy full SHA for 693218c
1 file changed
Surge-Module-Manager/components/HomeView.tsx
@@ -450,7 +450,12 @@ export function HomeView() {
450
leadingSwipeActions={{
451
allowsFullSwipe: false,
452
actions: [
453
- <Button title="更新" tint="systemGreen" action={withButtonHaptic(() => downloadSingle(m))} />,
+ <Button
454
+ title="更新"
455
+ tint={m.link ? "systemGreen" : "systemGray"}
456
+ disabled={!m.link}
457
+ action={withButtonHaptic(() => downloadSingle(m))}
458
+ />,
459
],
460
}}
461
trailingSwipeActions={{
0 commit comments