Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/CCC/UI/Calculator/CalculatorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct CalculatorView: View {
}
.listRowInsets(.init())
.listRowBackground(\.background)
.animation(.default)
.animation(.default, value: state)
}
.withClearBackground(color: Color(\.background))
.padding(bottom: 4.cp())
Expand Down
2 changes: 1 addition & 1 deletion ios/CCC/UI/Calculator/ConversionStateView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ struct ConversionStateView: View {
.font(relative: .caption2)
}
.padding(.bottom, 3.cp())
.animation(.default)
.animation(.default, value: text)
}
}
2 changes: 1 addition & 1 deletion ios/CCC/UI/Calculator/InputView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct InputView: View {
.fixedSize(horizontal: false, vertical: true)
.foregroundColor(\.text)
.font(relative: .title2)
.animation(.none)
.animation(.none, value: input)
.onLongPressGesture {
onInputLongClick()
}
Expand Down
2 changes: 1 addition & 1 deletion ios/CCC/UI/Calculator/OutputView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct OutputView: View {
}
.frame(minWidth: 0, maxWidth: .infinity, alignment: .bottomLeading)
.padding(.horizontal, 20.cp())
.animation(.default)
.animation(.default, value: output)
}
.contentShape(Rectangle())
.lineLimit(1)
Expand Down
2 changes: 1 addition & 1 deletion ios/CCC/UI/Currencies/CurrenciesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct CurrenciesView: View {
AdaptiveBannerAdView(unitID: "BANNER_AD_UNIT_ID_CURRENCIES").adapt()
}
}
.animation(.default)
.animation(.default, value: state)
.navigationBarHidden(true)
}
}
Expand Down
2 changes: 1 addition & 1 deletion ios/CCC/UI/Watchers/WatchersRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct WatchersRootView: View {
.onChange(of: notificationManager.authorizationStatus) {
onAuthorisationChange(authorizationStatus: $0)
}
.animation(.default)
.animation(.default, value: observable.state)
}

private func onEffect(effect: WatchersEffect) {
Expand Down