diff --git a/Sources/Core/View/Dialogs/AlertDialog.swift b/Sources/Core/View/Dialogs/AlertDialog.swift index e5530a9..2a99662 100644 --- a/Sources/Core/View/Dialogs/AlertDialog.swift +++ b/Sources/Core/View/Dialogs/AlertDialog.swift @@ -125,7 +125,7 @@ public struct AlertDialog: AdwaitaWidget { ) where Data: ViewRenderData { storage.fields[Self.visibleID + id] = _visible child.updateStorage(storage, data: data, updateProperties: updateProperties, type: type) - if let storage = storage.content["extra-child"]?.first { + if let storage = storage.content["extra-child"]?.first, visible { extraChild?.updateStorage(storage, data: data, updateProperties: updateProperties, type: type) } guard updateProperties else {