Unverified Commit 8ed5a805 authored by Erik Reider's avatar Erik Reider Committed by GitHub

Center the summary/title when the notification body is empty (#517)

parent 3f85c452
......@@ -436,6 +436,8 @@ namespace SwayNotificationCenter {
// Sets the original text
this.body.set_text (text);
}
this.body.set_visible (this.body.get_text ().length > 0);
}
/** Returns the first code found, else null */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment