|
|
|
|
@ -95,6 +95,7 @@ struct LaunchWidgetEntryView : View { |
|
|
|
|
case .systemSmall, .accessoryInline: |
|
|
|
|
if let countdown = entry.countdowns.first { |
|
|
|
|
CountdownSimpleWidgetView(countdown: countdown) |
|
|
|
|
.background(Image(countdown.imageName)) |
|
|
|
|
} else { |
|
|
|
|
VoidView() |
|
|
|
|
} |
|
|
|
|
@ -118,16 +119,9 @@ struct LaunchWidgetEntryView : View { |
|
|
|
|
default: |
|
|
|
|
MultiCountdownView(countdowns: entry.countdowns) |
|
|
|
|
|
|
|
|
|
// case .systemMedium: GameStatusWithLastTurnResult(gameStatus) |
|
|
|
|
// case .systemLarge: GameStatusWithStatistics(gameStatus) |
|
|
|
|
// case .systemExtraLarge: GameStatusWithStatisticsExtraLarge(gameStatus) |
|
|
|
|
// case .accessoryCircular: HealthLevelCircular(selectedCharacter) |
|
|
|
|
// case .accessoryRectangular: HealthLevelRectangular(selectedCharacter) |
|
|
|
|
// case .accessoryInline: HealthLevelInline(selectedCharacter) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
struct LaunchWidget: Widget { |
|
|
|
|
|