Skip to content

Commit

Permalink
Removing trailing whtespace that breaks the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
italo-capasso committed Dec 9, 2024
1 parent aecdacc commit fdeb7cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Views/AppInfoView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ public class AppCenter.Views.AppInfoView : Adw.NavigationPage {
var prefer_dark_theme = Gtk.Settings.get_default ().gtk_application_prefer_dark_theme;
screenshots.foreach ((screenshot) => {
var environment_id = screenshot.get_environment ();
if (environment_id != null) {
if (environment_id != null) {
var environment_split = environment_id.split (":", 2);
if (prefer_dark_theme && environment_split.length != 2) {
return;
Expand All @@ -957,7 +957,7 @@ public class AppCenter.Views.AppInfoView : Adw.NavigationPage {
return;
}
}

AppStream.Image? best_image = null;
screenshot.get_images ().foreach ((image) => {
// Image is better than no image
Expand Down

0 comments on commit fdeb7cc

Please sign in to comment.