From 7ca6c8e18c077e5f7c6aed6e5d47876019ba9fae Mon Sep 17 00:00:00 2001 From: crimera Date: Sat, 2 Mar 2024 12:03:26 +0800 Subject: [PATCH] refactor(twitter): Convert to lambda --- .../integrations/twitter/settings/SettingsActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/twitter/settings/SettingsActivity.java b/app/src/main/java/app/revanced/integrations/twitter/settings/SettingsActivity.java index cef423a424..ba21ae17e0 100644 --- a/app/src/main/java/app/revanced/integrations/twitter/settings/SettingsActivity.java +++ b/app/src/main/java/app/revanced/integrations/twitter/settings/SettingsActivity.java @@ -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(); }