#include "logspage.hpp" #include #include #include "util/layoutcreator.hpp" namespace chatterino { namespace widgets { namespace settingspages { LogsPage::LogsPage() : SettingsPage("Logs", "") { singletons::SettingManager &settings = singletons::SettingManager::getInstance(); util::LayoutCreator layoutCreator(this); auto layout = layoutCreator.emplace().withoutMargin(); { auto form = layout.emplace(); // clang-format off form->addRow("Enabled:", this->createCheckBox("Enable logging", settings.enableLogging)); // clang-format on } layout->addStretch(1); } } // namespace settingspages } // namespace widgets } // namespace chatterino