unnecessary cast
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 19 Apr 2019 17:18:49 +0000 (20:18 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 19 Apr 2019 20:56:43 +0000 (23:56 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 0608402..bbb32f7 100644 (file)
@@ -542,7 +542,7 @@ public class MainActivity extends ProfileThemedActivity {
         mViewPager.setCurrentItem(1, true);
     }
     private void showTransactionsFragment(LedgerAccount account) {
-        showTransactionsFragment((account == null) ? (String) null : account.getName());
+        showTransactionsFragment((account == null) ? null : account.getName());
     }
     public void showAccountTransactions(LedgerAccount account) {
         mBackMeansToAccountList = true;