]> git.ktnx.net Git - mobile-ledger.git/commitdiff
drop unused code/comments
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 07:19:49 +0000 (09:19 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 07:19:49 +0000 (09:19 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java

index cbdb191937455eeb8193ac55b62e6726795e1d1b..8ed6582d714508848234577b0970b199f40e47bc 100644 (file)
@@ -29,8 +29,6 @@ import androidx.recyclerview.widget.DividerItemDecoration;
 import androidx.recyclerview.widget.LinearLayoutManager;
 import androidx.recyclerview.widget.RecyclerView;
 
-import com.google.android.material.floatingactionbutton.FloatingActionButton;
-
 import net.ktnx.mobileledger.R;
 import net.ktnx.mobileledger.model.Data;
 import net.ktnx.mobileledger.ui.MobileLedgerListFragment;
@@ -43,11 +41,6 @@ import static net.ktnx.mobileledger.utils.Logger.debug;
 
 public class AccountSummaryFragment extends MobileLedgerListFragment {
     public AccountSummaryAdapter modelAdapter;
-    /*
-        private MenuItem mShowOnlyStarred;
-        private Menu optMenu;
-    */
-    private FloatingActionButton fab;
     @Override
     public void onCreate(@Nullable Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
@@ -87,8 +80,6 @@ public class AccountSummaryFragment extends MobileLedgerListFragment {
                 new DividerItemDecoration(mActivity, DividerItemDecoration.VERTICAL);
         root.addItemDecoration(did);
 
-        fab = mActivity.findViewById(R.id.btn_add_transaction);
-
         mActivity.fabShouldShow();
 
         manageFabOnScroll();