Skip to content

Commit

Permalink
refactor(twitter): Convert to lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
crimera committed Mar 2, 2024
1 parent 3e5b20d commit 7ca6c8e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ public void onCreate(Bundle savedInstanceState) {
Toolbar toolbar = findViewById(Utils.getResourceIdentifier("toolbar", "id"));
toolbar.setNavigationIcon(Utils.getResourceIdentifier("ic_vector_arrow_left", "drawable"));
toolbar.setTitle("Mod Settings");
toolbar.setNavigationOnClickListener(view -> {
onBackPressed();
});
toolbar.setNavigationOnClickListener(view -> onBackPressed());

getFragmentManager().beginTransaction().add(Utils.getResourceIdentifier("fragment_container", "id"), new Screen()).commit();
}
Expand Down

0 comments on commit 7ca6c8e

Please sign in to comment.