// DragonX Wallet - ImGui Edition
// Copyright 2024-2026 The Hush Developers
// Released under the GPLv3

#include "low_spec.h"
#include <atomic>

namespace dragonx {
namespace ui {
namespace effects {

static std::atomic<bool> s_low_spec{false};

bool isLowSpecMode() {
    return s_low_spec.load(std::memory_order_relaxed);
}

void setLowSpecMode(bool enabled) {
    s_low_spec.store(enabled, std::memory_order_relaxed);
}

} // namespace effects
} // namespace ui
} // namespace dragonx
