Fix about dialog setting previous state

This commit is contained in:
david-swift 2024-10-30 09:20:09 +01:00
parent d93bc321a2
commit 6bf6df0c6f

View File

@ -122,7 +122,6 @@ public struct AboutDialog: AdwaitaWidget {
adw_dialog_close(storage.content[dialogID]?.first?.opaquePointer?.cast()) adw_dialog_close(storage.content[dialogID]?.first?.opaquePointer?.cast())
} }
} }
storage.previousState = self
} }
/// Create a new instance of the dialog. /// Create a new instance of the dialog.