[MessageTray] Clear bannerText before re-adding on updates
Currently only the old title/summary line is removed from notifications before setting the updated values - do the same for bannerText if applicable.
This commit is contained in:
parent
b6bb26e9ae
commit
b2db95380b
@ -80,7 +80,7 @@ Notification.prototype = {
|
||||
let children = this.actor.get_children();
|
||||
for (let i = 0; i < children.length; i++) {
|
||||
let meta = this.actor.get_child_meta(children[i]);
|
||||
if (clear || meta.row == 0)
|
||||
if (clear || meta.row == 0 || (this._bannerBody && meta.row == 1))
|
||||
children[i].destroy();
|
||||
}
|
||||
if (clear) {
|
||||
|
Loading…
Reference in New Issue
Block a user