#include "specialchannelspage.hpp" #include "application.hpp" #include "singletons/settingsmanager.hpp" #include "util/layoutcreator.hpp" #include #include #include namespace chatterino { namespace widgets { namespace settingspages { SpecialChannelsPage::SpecialChannelsPage() : SettingsPage("Special channels", "") { auto app = getApp(); util::LayoutCreator layoutCreator(this); auto layout = layoutCreator.setLayoutType(); auto mentions = layout.emplace("Mentions channel").setLayoutType(); { mentions.emplace("Join /mentions to view your mentions."); } auto whispers = layout.emplace("Whispers").setLayoutType(); { whispers.emplace("Join /whispers to view your mentions."); } layout->addStretch(1); } } // namespace settingspages } // namespace widgets } // namespace chatterino