Skip to content

Commit

Permalink
Fix bad whitespace that broke the linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
italo-capasso committed Dec 9, 2024
1 parent 1506b6b commit bee3d53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Package.vala
Original file line number Diff line number Diff line change
Expand Up @@ -755,13 +755,13 @@ public class AppCenterCore.Package : Object {
var branding = component.get_branding ();
if (branding != null) {
var gtk_settings = Gtk.Settings.get_default ();
if (gtk_settings.gtk_application_prefer_dark_theme){
if (gtk_settings.gtk_application_prefer_dark_theme) {
color_primary = branding.get_color (AppStream.ColorKind.PRIMARY, AppStream.ColorSchemeKind.DARK);
} else {
color_primary = branding.get_color (AppStream.ColorKind.PRIMARY, AppStream.ColorSchemeKind.LIGHT);
}

if (color_primary == null){
if (color_primary == null) {
color_primary = branding.get_color (AppStream.ColorKind.PRIMARY, AppStream.ColorSchemeKind.UNKNOWN);
}
}
Expand Down

0 comments on commit bee3d53

Please sign in to comment.