aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-02-17 20:32:14 -0600
committerIván Ávalos <avalos@disroot.org>2022-02-17 20:32:14 -0600
commitbf1538105bfd91f80ad5437c7157c539f2291e56 (patch)
treeba45b96db1882e3cd44dc9f67e3374a1b77f746e
parente7c2291795f54d6080895d939c7a1feeeeac5dc2 (diff)
downloadetbsa-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.swift2
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()