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 () {
// Remove all widgets
foreach (var widget in widgets.data) {
box.remove(widget);
box.remove (widget);
}
widgets.remove_range (0, widgets.length);

View File

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