mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Clear user colors on theme change
This commit is contained in:
parent
fcaec0d099
commit
2895162971
1 changed files with 3 additions and 0 deletions
|
@ -196,6 +196,9 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
|
|||
if (idx >= 0)
|
||||
emit dataChanged(index(idx, 0), index(idx, 0));
|
||||
});
|
||||
|
||||
connect(
|
||||
ChatPage::instance(), &ChatPage::themeChanged, this, [this]() { userColors.clear(); });
|
||||
}
|
||||
|
||||
QHash<int, QByteArray>
|
||||
|
|
Loading…
Reference in a new issue