Skip to content

Commit

Permalink
issue-703: Small code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geosaaga committed Jan 3, 2025
1 parent fe33f46 commit cea0c41
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ private void setAddFavoriteLocationsClickListener() {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("fmiweather://search"));
Button addFavoriteLocationsButton = findViewById(R.id.addFavoriteLocationsButton);
// on click send the intent to open the app main activity
addFavoriteLocationsButton.setOnClickListener(v -> {
startActivity(intent);
});
addFavoriteLocationsButton.setOnClickListener(v -> startActivity(intent));
}

public void onRequestPermissionsResult(int requestCode,
Expand Down

0 comments on commit cea0c41

Please sign in to comment.