Skip to content

Commit 86a31da

Browse files
committed
ui: change icons for running a background task
Signed-off-by: Tommy van der Vorst <tommy@pixelspark.nl>
1 parent eeeb428 commit 86a31da

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sushitrain/SettingsView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,19 +551,19 @@ struct AdvancedSettingsView: View {
551551
}
552552
else {
553553
Menu("Start background synchronization now") {
554-
Button("For 10 seconds", systemImage: "gearshape.2.fill") {
554+
Button("For 10 seconds", systemImage: "play.circle") {
555555
self.startBackgroundSyncFor(.time(seconds: 10))
556556
}.disabled(backgroundManager.runningContinuedTask != nil)
557557

558-
Button("For 1 minute", systemImage: "gearshape.2.fill") {
558+
Button("For 1 minute", systemImage: "play.circle") {
559559
self.startBackgroundSyncFor(.time(seconds: 60))
560560
}.disabled(backgroundManager.runningContinuedTask != nil)
561561

562-
Button("For 10 minutes", systemImage: "gearshape.2.fill") {
562+
Button("For 10 minutes", systemImage: "play.circle") {
563563
self.startBackgroundSyncFor(.time(seconds: 10 * 60))
564564
}.disabled(backgroundManager.runningContinuedTask != nil)
565565

566-
Button("For 1 hour", systemImage: "gearshape.2.fill") {
566+
Button("For 1 hour", systemImage: "play.circle") {
567567
self.startBackgroundSyncFor(.time(seconds: 60 * 60))
568568
}.disabled(backgroundManager.runningContinuedTask != nil)
569569
}

Sushitrain/StartView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,19 +479,19 @@ struct StartView: View {
479479
#if os(iOS)
480480
@ViewBuilder @available(iOS 26, *) private func continueInBackgroundMenu(untilFinished: Bool) -> some View {
481481
Section(untilFinished ? "Wait for completion" : "Synchronize in the background") {
482-
Button("For 10 seconds", systemImage: "gearshape.2.fill") {
482+
Button("For 10 seconds", systemImage: "play.circle") {
483483
self.startBackgroundSyncFor(untilFinished ? .timeOrFinished(seconds: 10) : .time(seconds: 10))
484484
}.disabled(backgroundManager.runningContinuedTask != nil)
485485

486-
Button("For 1 minute", systemImage: "gearshape.2.fill") {
486+
Button("For 1 minute", systemImage: "play.circle") {
487487
self.startBackgroundSyncFor(untilFinished ? .timeOrFinished(seconds: 60) : .time(seconds: 60))
488488
}.disabled(backgroundManager.runningContinuedTask != nil)
489489

490-
Button("For 10 minutes", systemImage: "gearshape.2.fill") {
490+
Button("For 10 minutes", systemImage: "play.circle") {
491491
self.startBackgroundSyncFor(untilFinished ? .timeOrFinished(seconds: 10 * 60) : .time(seconds: 10 * 60))
492492
}.disabled(backgroundManager.runningContinuedTask != nil)
493493

494-
Button("For 1 hour", systemImage: "gearshape.2.fill") {
494+
Button("For 1 hour", systemImage: "play.circle") {
495495
self.startBackgroundSyncFor(untilFinished ? .timeOrFinished(seconds: 3600) : .time(seconds: 3600))
496496
}.disabled(backgroundManager.runningContinuedTask != nil)
497497

0 commit comments

Comments
 (0)