Made small improvements like dismissing the keyboard. Tapping the Contacts tab causes the app to crash.
This commit is contained in:
parent
b77ef882e8
commit
5c4d4f8059
21 changed files with 174 additions and 36 deletions
|
|
@ -8,7 +8,7 @@
|
|||
import SwiftUI
|
||||
|
||||
struct LicenseView: View {
|
||||
var fontSize:CGFloat {UIScreen.main.bounds.width > 700 ? 18 : 8}
|
||||
var fontSize:CGFloat {UIScreen.main.bounds.width > 700 ? 18 : 9}
|
||||
// figuring out how to do this came partly from tinyurl.com/9snwkrzt
|
||||
// and also partly from stackoverflow.com/questions/57727107/
|
||||
// then I remembered about ternary operators and I optimized it
|
||||
|
|
@ -96,10 +96,13 @@ struct LicenseView: View {
|
|||
Text("Updated: 2022-06-09")
|
||||
}
|
||||
.navigationTitle("Software License Agreement")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
// sets the top of the screen to this text which always
|
||||
// lets you know what page you're in
|
||||
.padding()
|
||||
.frame(maxWidth: .infinity)
|
||||
// this just makes it so you can scroll anywhere on screen
|
||||
// instead of only in the frame
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue