// DragonX Wallet - ImGui Edition // Copyright 2024-2026 The Hush Developers // Released under the GPLv3 // // Shared release-row model for the updater dialogs. Both the miner updater (XmrigDownloadDialog) and // the node updater (DaemonUpdateDialog) map their updater's release list into ReleaseRow values to // drive their two-pane version picker (tag + title + date, with pre-release / installed badges). The // two-pane list is the "browse all releases" UI; each dialog renders its own tactile Material cards. #pragma once #include namespace dragonx { namespace ui { struct ReleaseRow { std::string tag; // version tag, e.g. "v1.0.2" std::string title; // human title (release "name"), shown dimmed std::string date; // YYYY-MM-DD (already trimmed) bool prerelease = false; // show a pre-release badge bool hasAsset = true; // a build exists for this platform (else the row's Install is disabled) bool installed = false; // matches the currently-installed version (Install -> Reinstall) }; } // namespace ui } // namespace dragonx