diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-02-17 20:32:14 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-02-17 20:32:14 -0600 |
commit | bf1538105bfd91f80ad5437c7157c539f2291e56 (patch) | |
tree | ba45b96db1882e3cd44dc9f67e3374a1b77f746e | |
parent | e7c2291795f54d6080895d939c7a1feeeeac5dc2 (diff) | |
download | etbsa-trackermap-mobile-bf1538105bfd91f80ad5437c7157c539f2291e56.tar.gz etbsa-trackermap-mobile-bf1538105bfd91f80ad5437c7157c539f2291e56.tar.bz2 etbsa-trackermap-mobile-bf1538105bfd91f80ad5437c7157c539f2291e56.zip |
Successful attempt to limit size of device icon in row
-rw-r--r-- | iosApp/iosApp/Devices/DeviceRow.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iosApp/iosApp/Devices/DeviceRow.swift b/iosApp/iosApp/Devices/DeviceRow.swift index 31ffbc0..0439fff 100644 --- a/iosApp/iosApp/Devices/DeviceRow.swift +++ b/iosApp/iosApp/Devices/DeviceRow.swift @@ -38,7 +38,7 @@ struct DeviceRow: View { /* MARK: - Device icon */ let category = Marker.companion.categoryToMarkerType(category: unit.device.category) Image(MarkerTransformations.markerTypeToImageName(markerType: category)) - .imageScale(.large) + .sizeToFitSquare(sideLength: 40.0) .padding(5.0) getSharedContent() |