Logo
Explore Help
Sign In
apt/fuelboard
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
38b47eea38accd314fe12940f8c66cb20cb07f8f
fuelboard/FuelBoardWidgets/FuelBoardWidgetsBundle.swift
T
FuelBoard Contributor 38b47eea38 Widget gallery order + default-widget skeleton fix. (1) Register FuelPriceSmallWidget BEFORE FuelPriceWidget so the gallery lists small, then medium (bundle order = gallery order). (2) Revert entity resolution to LENIENT: the timeline request resolves the full configuration through the entity queries, and the b1765b5 strict entities(for:) (nil for the empty default favourite 'fuel|') failed resolution for default-config small widgets, stranding them on the iOS skeleton placeholder. entities(for:) now always returns a value; defaultResult() still auto-populates fresh widgets to the first fuel with a favourite / first favourite of that fuel.
2026-08-13 18:39:30 +01:00

13 lines
289 B
Swift
Raw Blame History

import WidgetKit
import SwiftUI
@main
struct FuelBoardWidgetsBundle: WidgetBundle {
var body: some Widget {
// Gallery order follows registration order: small first, then medium.
FuelPriceSmallWidget()
FuelPriceWidget()
FuelBoardLiveActivity()
}
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.0 Page: 11ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API