mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/settings] Fix assert in about submenu when username enabled (#134)
This commit is contained in:
@@ -168,7 +168,6 @@ bool AboutController::hasUsernameCell() const {
|
||||
void AboutController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
int i = index + (!hasUsernameCell());
|
||||
GenericSubController::willDisplayCellForIndex(cell, i);
|
||||
assert(index >= 0 && index < k_totalNumberOfCell);
|
||||
if (m_messageTreeModel->childAtIndex(i)->label() == I18n::Message::Contributors) {
|
||||
MessageTableCellWithChevronAndMessage * myTextCell = (MessageTableCellWithChevronAndMessage *)cell;
|
||||
myTextCell->setSubtitle(I18n::Message::Default);
|
||||
|
||||
Reference in New Issue
Block a user