This commit is contained in:
jpirnay
2026-04-12 06:49:28 +02:00
parent c6e94d6966
commit 7feff4e241
4 changed files with 82 additions and 39 deletions
@@ -152,7 +152,13 @@ struct SettingInfo {
}
bool isSeparator = false;
StrId subcategory = StrId::STR_NONE_OPT;
[[nodiscard]] std::string getTitle() const;
SettingInfo& withSubcategory(StrId sub) {
subcategory = sub;
return *this;
}
};
class SettingsActivity final : public Activity {