mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Fix squished device images
This commit is contained in:
parent
6cd2fdfdb9
commit
6d965a8fc3
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ struct NodeInfoView: View {
|
|||
if node.user != nil {
|
||||
Image(hwModelString)
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fill)
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.frame(width: 100, height: 100)
|
||||
.cornerRadius(5)
|
||||
|
||||
|
|
@ -133,6 +133,7 @@ struct NodeInfoView: View {
|
|||
VStack {
|
||||
Image(node.user!.hwModel ?? "unset".localized)
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.frame(width: 75, height: 75)
|
||||
.cornerRadius(5)
|
||||
Text(String(node.user!.hwModel ?? "unset".localized))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue