Added latest release link to welcome screen

This commit is contained in:
WerWolv
2021-01-31 00:04:33 +01:00
parent 073eee8fab
commit b4cbfa02cf
2 changed files with 13 additions and 13 deletions

View File

@@ -172,16 +172,6 @@ namespace hex {
/* Settings */
{
ContentRegistry::Settings::add("Interface", "Color theme", 0, [](nlohmann::json &setting) {
static int selection = setting;
if (ImGui::Combo("##nolabel", &selection, "Dark\0Light\0Classic\0")) {
setting = selection;
return true;
}
return false;
});
View::subscribeEvent(Events::SettingsChanged, [this](auto) {
int theme = ContentRegistry::Settings::getSettingsData()["Interface"]["Color theme"];