]> git.ktnx.net Git - mobile-ledger.git/commitdiff
remove redundant type-cast
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 30 Nov 2018 19:55:57 +0000 (19:55 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 30 Nov 2018 19:55:57 +0000 (19:55 +0000)
app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java

index 8bad687e59c95cb8a8a7062b15ab36cc4f9b19ba..0c67506f565f3f61f6cacf88ff02c75132f549df 100644 (file)
@@ -26,7 +26,7 @@ public class NewTransactionActivity extends AppCompatActivity {
         Toolbar toolbar = findViewById(R.id.toolbar);
         setSupportActionBar(toolbar);
 
-        FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
+        FloatingActionButton fab = findViewById(R.id.fab);
         fab.setOnClickListener(new View.OnClickListener() {
             @Override
             public void onClick(View view) {