Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into release/1.42
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-magda committed Nov 20, 2023
2 parents 7599944 + 2964d3f commit 7655d04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,9 @@ struct GemsBarButtonItem: View {
.resizable()
.aspectRatio(contentMode: .fit)

if #available(iOS 17.0, *) {
Text("\(hypercoinsBalance)")
.foregroundColor(.primaryText)
.animation(.default, value: hypercoinsBalance)
.contentTransition(.numericText(value: Double(hypercoinsBalance)))
} else {
Text("\(hypercoinsBalance)")
.foregroundColor(.primaryText)
.animation(.default, value: hypercoinsBalance)
}
Text("\(hypercoinsBalance)")
.foregroundColor(.primaryText)
.animation(.default, value: hypercoinsBalance)
}
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,9 @@ struct StreakBarButtonItem: View {
.resizable()
.aspectRatio(contentMode: .fit)

if #available(iOS 17.0, *) {
Text("\(currentStreak)")
.foregroundColor(.primaryText)
.animation(.default, value: currentStreak)
.contentTransition(.numericText(value: Double(currentStreak)))
} else {
Text("\(currentStreak)")
.foregroundColor(.primaryText)
.animation(.default, value: currentStreak)
}
Text("\(currentStreak)")
.foregroundColor(.primaryText)
.animation(.default, value: currentStreak)
}
}
)
Expand Down

0 comments on commit 7655d04

Please sign in to comment.