diff --git a/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/GemsBarButtonItem.swift b/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/GemsBarButtonItem.swift index 0e97f13c55..b2c8a4a00d 100644 --- a/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/GemsBarButtonItem.swift +++ b/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/GemsBarButtonItem.swift @@ -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) } } ) diff --git a/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/StreakBarButtonItem.swift b/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/StreakBarButtonItem.swift index 43655ea642..cb96531714 100644 --- a/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/StreakBarButtonItem.swift +++ b/iosHyperskillApp/iosHyperskillApp/Sources/Modules/GamificationToolbar/Views/StreakBarButtonItem.swift @@ -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) } } )