messageTray: Rename bannerBodyText to body in Notification object
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173>
This commit is contained in:

committed by
Florian Müllner

parent
e4c44fd1ed
commit
00c292733d
@ -140,8 +140,8 @@ const NotificationsBox = GObject.registerClass({
|
||||
continue;
|
||||
|
||||
let body = '';
|
||||
if (n.bannerBodyText) {
|
||||
const bodyText = n.bannerBodyText.replace(/\n/g, ' ');
|
||||
if (n.body) {
|
||||
const bodyText = n.body.replace(/\n/g, ' ');
|
||||
body = n.bannerBodyMarkup
|
||||
? bodyText
|
||||
: GLib.markup_escape_text(bodyText, -1);
|
||||
|
Reference in New Issue
Block a user