From 8c3ef002a8d01dbbc4f24325978fad3ce967303a Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 25 Oct 2023 16:33:57 -0600 Subject: [PATCH] Cleanup --- ios/WonderousWidget/WonderousWidgetView.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ios/WonderousWidget/WonderousWidgetView.swift b/ios/WonderousWidget/WonderousWidgetView.swift index 9b5fd7b4..f11c441d 100644 --- a/ios/WonderousWidget/WonderousWidgetView.swift +++ b/ios/WonderousWidget/WonderousWidgetView.swift @@ -12,9 +12,11 @@ struct WonderousWidgetView : View { let showTitleAndDesc = family != .systemSmall let progress = Double(entry.discoveredCount) / 24.0 - let iconImage = flutterAssetBundle.appending(path: "/assets/images/widget/wonderous-icon.png").path() - let title:String = entry.title.isEmpty ? "Wonderous" : entry.title; - let subTitle:String = entry.subTitle.isEmpty ? "Search for hidden artifacts" : entry.subTitle; + let iconImage = flutterAssetBundle.appending( + path: "/assets/images/widget/wonderous-icon.png" + ).path() + let title = entry.title.isEmpty ? "Wonderous" : entry.title; + let subTitle = entry.subTitle.isEmpty ? "Search for hidden artifacts" : entry.subTitle; let content = VStack{ HStack { if(showTitle) {