[TF-1623] Add offset for appleWatch image

This commit is contained in:
gmc 2024-08-08 00:09:13 +02:00
parent bc8562e56b
commit 65df0b782b

View File

@ -29,6 +29,7 @@ struct AppleWatchInstallationStep: Hashable, Identifiable {
struct AppleWatchView<Presenter: AppleWatchPresenting>: View { struct AppleWatchView<Presenter: AppleWatchPresenting>: View {
private let spacing: CGFloat = Theme.Metrics.doubleSpacing private let spacing: CGFloat = Theme.Metrics.doubleSpacing
private let presenter: Presenter private let presenter: Presenter
private let appleWatchImageXOffset: CGFloat = 10
init(presenter: Presenter) { init(presenter: Presenter) {
self.presenter = presenter self.presenter = presenter
@ -39,6 +40,7 @@ struct AppleWatchView<Presenter: AppleWatchPresenting>: View {
Image(uiImage: Asset.appleWatch.image) Image(uiImage: Asset.appleWatch.image)
.renderingMode(.original) .renderingMode(.original)
.padding(.top, Theme.Metrics.standardSpacing) .padding(.top, Theme.Metrics.standardSpacing)
.offset(x: appleWatchImageXOffset)
Text(T.AppleWatch.installationInfoTitle) Text(T.AppleWatch.installationInfoTitle)
.font(Font(Theme.Fonts.Text.title)) .font(Font(Theme.Fonts.Text.title))