mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-11 11:47:09 +02:00
fix: repeated deleted text
This commit is contained in:
parent
22de3980d1
commit
206a15191f
1 changed files with 2 additions and 7 deletions
|
@ -3109,13 +3109,8 @@ void HistoryItem::setPostAuthor(const QString &postAuthor) {
|
|||
void HistoryItem::setDeleted() {
|
||||
_deleted = true;
|
||||
|
||||
const auto settings = &AyuSettings::getInstance();
|
||||
if (settings->replaceBottomInfoWithIcons) {
|
||||
history()->owner().requestItemViewRefresh(this);
|
||||
history()->owner().requestItemResize(this);
|
||||
} else {
|
||||
setAyuHint(settings->deletedMark);
|
||||
}
|
||||
history()->owner().requestItemViewRefresh(this);
|
||||
history()->owner().requestItemResize(this);
|
||||
}
|
||||
|
||||
bool HistoryItem::isDeleted() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue