27 using Selection::Selection;
28 void readCurrentValue()
override { this->setValue(FlashStorage::defaultSessionLayout); }
29 void writeCurrentValue()
override { FlashStorage::defaultSessionLayout = this->getValue<SessionLayoutType>(); }
30 deluge::vector<std::string_view> getOptions(OptType optType)
override {
32 return {l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_SONG_LAYOUT_ROWS),
33 l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_GRID)};