Fixed linting issues

This commit is contained in:
Erik Reider
2022-11-28 18:41:23 +01:00
parent 2265b27ae9
commit f8e1bcac77
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ namespace SwayNotificationCenter {
public void add_widgets () { public void add_widgets () {
// Remove all widgets // Remove all widgets
foreach (var widget in widgets.data) { foreach (var widget in widgets.data) {
box.remove(widget); box.remove (widget);
} }
widgets.remove_range (0, widgets.length); widgets.remove_range (0, widgets.length);

View File

@@ -153,8 +153,8 @@ namespace SwayNotificationCenter {
/** Reloads the config file */ /** Reloads the config file */
public void reload_config () throws Error { public void reload_config () throws Error {
print("\n"); print ("\n");
message("Reloading config\n"); message ("Reloading config\n");
ConfigModel.reload_config (); ConfigModel.reload_config ();
noti_daemon.control_center.add_widgets (); noti_daemon.control_center.add_widgets ();
} }