aboutsummaryrefslogtreecommitdiff
path: root/iosApp
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-02-17 20:42:56 -0600
committerIván Ávalos <avalos@disroot.org>2022-02-17 20:42:56 -0600
commitbf3436368992746e306c8bd492b70e136ff70f45 (patch)
tree7565edb9c126bdb5dc29de15a45ee3f8972d235e /iosApp
parentbf1538105bfd91f80ad5437c7157c539f2291e56 (diff)
downloadetbsa-trackermap-mobile-bf3436368992746e306c8bd492b70e136ff70f45.tar.gz
etbsa-trackermap-mobile-bf3436368992746e306c8bd492b70e136ff70f45.tar.bz2
etbsa-trackermap-mobile-bf3436368992746e306c8bd492b70e136ff70f45.zip
Limit device icon size on details view
Diffstat (limited to 'iosApp')
-rw-r--r--iosApp/iosApp/Details/DetailsView.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/iosApp/iosApp/Details/DetailsView.swift b/iosApp/iosApp/Details/DetailsView.swift
index 1b86d2b..c869369 100644
--- a/iosApp/iosApp/Details/DetailsView.swift
+++ b/iosApp/iosApp/Details/DetailsView.swift
@@ -64,6 +64,7 @@ struct DetailsView: View {
let type = Marker.companion
.categoryToMarkerType(category: category)
Image(MarkerTransformations.markerTypeToImageName(markerType: type))
+ .sizeToFit()
} else {
EmptyView()
}