Skip to content

Commit

Permalink
IOS-3934 Improved example application layout on small phones
Browse files Browse the repository at this point in the history
  • Loading branch information
megakoko committed Jul 19, 2023
1 parent c5b5a97 commit 1f39966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/TangemSdkExample/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ struct ContentView: View {
.tag(AppModel.Method.allCases[index])
}
}
.frame(minHeight: 110)
.labelsHidden()
.pickerStyle(WheelPickerStyle())

Button("Start") { model.start() }
.buttonStyle(ExampleButton(isLoading: model.isScanning))
.frame(width: 100)
.padding()

}
.padding(.horizontal, 8)
Expand Down Expand Up @@ -209,7 +209,7 @@ struct ContentView: View {
}
.autocapitalization(.none)
.disableAutocorrection(true)
.padding()
.padding(.vertical, 8)
.cornerRadius(8)
.overlay(RoundedRectangle(cornerRadius: 8)
.stroke(Color.orange, lineWidth: 2))
Expand Down

0 comments on commit 1f39966

Please sign in to comment.