mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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() {
|
void HistoryItem::setDeleted() {
|
||||||
_deleted = true;
|
_deleted = true;
|
||||||
|
|
||||||
const auto settings = &AyuSettings::getInstance();
|
history()->owner().requestItemViewRefresh(this);
|
||||||
if (settings->replaceBottomInfoWithIcons) {
|
history()->owner().requestItemResize(this);
|
||||||
history()->owner().requestItemViewRefresh(this);
|
|
||||||
history()->owner().requestItemResize(this);
|
|
||||||
} else {
|
|
||||||
setAyuHint(settings->deletedMark);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::isDeleted() const {
|
bool HistoryItem::isDeleted() const {
|
||||||
|
|
Loading…
Add table
Reference in a new issue