mirror of
https://github.com/twofas/2fas-ios.git
synced 2024-11-25 03:40:26 +01:00
[TF-1623] Add offset for appleWatch image
This commit is contained in:
parent
bc8562e56b
commit
65df0b782b
@ -29,6 +29,7 @@ struct AppleWatchInstallationStep: Hashable, Identifiable {
|
||||
struct AppleWatchView<Presenter: AppleWatchPresenting>: View {
|
||||
private let spacing: CGFloat = Theme.Metrics.doubleSpacing
|
||||
private let presenter: Presenter
|
||||
private let appleWatchImageXOffset: CGFloat = 10
|
||||
|
||||
init(presenter: Presenter) {
|
||||
self.presenter = presenter
|
||||
@ -39,6 +40,7 @@ struct AppleWatchView<Presenter: AppleWatchPresenting>: View {
|
||||
Image(uiImage: Asset.appleWatch.image)
|
||||
.renderingMode(.original)
|
||||
.padding(.top, Theme.Metrics.standardSpacing)
|
||||
.offset(x: appleWatchImageXOffset)
|
||||
|
||||
Text(T.AppleWatch.installationInfoTitle)
|
||||
.font(Font(Theme.Fonts.Text.title))
|
||||
|
Loading…
Reference in New Issue
Block a user