Change mark as read behaviour
This commit is contained in:
1 parent
9bcc7b5e4f
commit
a5fa7adcd7
2 files changed
+61
-8
No files matched your search
@@ -6,8 +6,11 @@
|
||||
#include "components/UITheme.h"
|
||||
|
||||
std::string SettingInfo::getTitle() const {
|
||||
const auto t = I18N.get(nameId);
|
||||
return isSeparator ? UITheme::makeSeparatorTitle(t) : t;
|
||||
if (isSeparator) {
|
||||
if (nameId == StrId::STR_NONE_OPT) return UITheme::makeSeparatorTitle(std::string{});
|
||||
return UITheme::makeSeparatorTitle(std::string{I18N.get(nameId)});
|
||||
}
|
||||
return std::string{I18N.get(nameId)};
|
||||
}
|
||||
|
||||
std::string SettingInfo::getDisplayValue() const {
|
||||
|
||||
Reference in new issue
Block a user