Skip to content

Commit 22dda5a

Browse files
committed
Fixed linter errors
1 parent 552a86a commit 22dda5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/controlCenter/widgets/mpris/mpris.vala

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ namespace SwayNotificationCenter.Widgets.Mpris {
105105
if (blacklist != null) {
106106
mpris_config.blacklist = new string[blacklist.get_length ()];
107107
for (int i = 0; i < blacklist.get_length (); i++) {
108-
if(blacklist.get_element (i).get_node_type () != Json.NodeType.VALUE) {
108+
if (blacklist.get_element (i).get_node_type () != Json.NodeType.VALUE) {
109109
warning ("Blacklist entries should be strings");
110110
continue;
111111
}
@@ -187,7 +187,7 @@ namespace SwayNotificationCenter.Widgets.Mpris {
187187
string[] names = dbus_iface.list_names ();
188188
foreach (string name in names) {
189189
if (!name.has_prefix (MPRIS_PREFIX)) continue;
190-
if (is_blacklisted(name)) continue;
190+
if (is_blacklisted (name)) continue;
191191
if (check_player_exists (name)) return;
192192
MprisSource ? source = MprisSource.get_player (name);
193193
if (source != null) add_player (name, source);
@@ -199,7 +199,7 @@ namespace SwayNotificationCenter.Widgets.Mpris {
199199
remove_player (name);
200200
return;
201201
}
202-
if (is_blacklisted(name)) return;
202+
if (is_blacklisted (name)) return;
203203
if (check_player_exists (name)) return;
204204
MprisSource ? source = MprisSource.get_player (name);
205205
if (source != null) add_player (name, source);

0 commit comments

Comments
 (0)