From b00b623df4be700be9d65249f0c2b2ba61e0bf0e Mon Sep 17 00:00:00 2001 From: Florianisme Date: Mon, 31 Jan 2022 20:53:16 +0100 Subject: [PATCH] Cleanup binding declaration --- .../main/java/de/florianisme/wakeonlan/home/MainActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/de/florianisme/wakeonlan/home/MainActivity.java b/app/src/main/java/de/florianisme/wakeonlan/home/MainActivity.java index fed4cc7..2688b56 100644 --- a/app/src/main/java/de/florianisme/wakeonlan/home/MainActivity.java +++ b/app/src/main/java/de/florianisme/wakeonlan/home/MainActivity.java @@ -14,13 +14,12 @@ public class MainActivity extends AppCompatActivity { private AppBarConfiguration appBarConfiguration; - private ActivityMainBinding binding; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - binding = ActivityMainBinding.inflate(getLayoutInflater()); + ActivityMainBinding binding = ActivityMainBinding.inflate(getLayoutInflater()); setContentView(binding.getRoot()); setSupportActionBar(binding.toolbar);