Cleanup
This commit is contained in:
parent
d783d706e1
commit
8c3ef002a8
@ -12,9 +12,11 @@ struct WonderousWidgetView : View {
|
|||||||
let showTitleAndDesc = family != .systemSmall
|
let showTitleAndDesc = family != .systemSmall
|
||||||
|
|
||||||
let progress = Double(entry.discoveredCount) / 24.0
|
let progress = Double(entry.discoveredCount) / 24.0
|
||||||
let iconImage = flutterAssetBundle.appending(path: "/assets/images/widget/wonderous-icon.png").path()
|
let iconImage = flutterAssetBundle.appending(
|
||||||
let title:String = entry.title.isEmpty ? "Wonderous" : entry.title;
|
path: "/assets/images/widget/wonderous-icon.png"
|
||||||
let subTitle:String = entry.subTitle.isEmpty ? "Search for hidden artifacts" : entry.subTitle;
|
).path()
|
||||||
|
let title = entry.title.isEmpty ? "Wonderous" : entry.title;
|
||||||
|
let subTitle = entry.subTitle.isEmpty ? "Search for hidden artifacts" : entry.subTitle;
|
||||||
let content = VStack{
|
let content = VStack{
|
||||||
HStack {
|
HStack {
|
||||||
if(showTitle) {
|
if(showTitle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user