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.

This commit is contained in:
FuelBoard Contributor
2026-08-13 18:39:30 +01:00
parent b1765b5611
commit 38b47eea38
2 changed files with 22 additions and 19 deletions
@@ -4,8 +4,9 @@ import SwiftUI
@main
struct FuelBoardWidgetsBundle: WidgetBundle {
var body: some Widget {
FuelPriceWidget()
// Gallery order follows registration order: small first, then medium.
FuelPriceSmallWidget()
FuelPriceWidget()
FuelBoardLiveActivity()
}
}