27 using Selection::Selection;
28 void readCurrentValue()
override { this->setValue(FlashStorage::defaultGridActiveMode); }
29 void writeCurrentValue()
override { FlashStorage::defaultGridActiveMode = this->getValue<GridDefaultActiveMode>(); }
30 deluge::vector<std::string_view> getOptions(OptType optType)
override {
33 l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_DEFAULT_GRID_ACTIVE_MODE_SELECTION),
34 l10n::getView(l10n::String::STRING_FOR_GREEN),
35 l10n::getView(l10n::String::STRING_FOR_BLUE),