summaryrefslogtreecommitdiff
path: root/hyprpm/src/core/DataState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprpm/src/core/DataState.cpp')
-rw-r--r--hyprpm/src/core/DataState.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyprpm/src/core/DataState.cpp b/hyprpm/src/core/DataState.cpp
index 131146a1..42f1d428 100644
--- a/hyprpm/src/core/DataState.cpp
+++ b/hyprpm/src/core/DataState.cpp
@@ -181,7 +181,7 @@ void DataState::updateGlobalState(const SGlobalState& state) {
// clang-format off
auto DATA = toml::table{
{"state", toml::table{
- {"hash", state.headersHashCompiled},
+ {"hash", state.headersAbiCompiled},
{"dont_warn_install", state.dontWarnInstall}
}}
};
@@ -206,8 +206,8 @@ SGlobalState DataState::getGlobalState() {
auto DATA = toml::parse_file(stateFile.c_str());
SGlobalState state;
- state.headersHashCompiled = DATA["state"]["hash"].value_or("");
- state.dontWarnInstall = DATA["state"]["dont_warn_install"].value_or(false);
+ state.headersAbiCompiled = DATA["state"]["hash"].value_or("");
+ state.dontWarnInstall = DATA["state"]["dont_warn_install"].value_or(false);
return state;
}