Fixed linting issues
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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 ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user