Mercurial > public > simoleon
comparison Simoleon/Conversion.swift @ 118:1b5f38ecb870
Change Cancel to Done
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 15 Aug 2021 09:58:08 +0100 |
parents | b6f8661300f2 |
children | cd801949925b |
comparison
equal
deleted
inserted
replaced
117:a6df002a0a5c | 118:1b5f38ecb870 |
---|---|
57 if amountIsEditing { | 57 if amountIsEditing { |
58 Button(action: { | 58 Button(action: { |
59 UIApplication.shared.dismissKeyboard() | 59 UIApplication.shared.dismissKeyboard() |
60 amountIsEditing = false | 60 amountIsEditing = false |
61 }) { | 61 }) { |
62 Text("Cancel") | 62 Text("Done") |
63 } | 63 } |
64 } | 64 } |
65 } | 65 } |
66 } | 66 } |
67 .if(UIDevice.current.userInterfaceIdiom == .phone && showNavigationView ?? true) { content in | 67 .if(UIDevice.current.userInterfaceIdiom == .phone && showNavigationView ?? true) { content in |