Remove useless code

This commit is contained in:
Tanguy Herbron 2018-09-02 02:08:59 +02:00
parent 3e56c6f90e
commit 1cb7c03d63

View File

@ -85,7 +85,6 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface,
private Handler handler; private Handler handler;
private Runnable updateRunnable; private Runnable updateRunnable;
private Runnable layoutRefresherRunnable;
private int coinCounter; private int coinCounter;
private int iconCounter; private int iconCounter;
@ -126,8 +125,6 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface,
initiateUpdateRunnable(); initiateUpdateRunnable();
initiateLayoutRefresherRunnable();
refreshLayout.setOnRefreshListener( refreshLayout.setOnRefreshListener(
new SwipeRefreshLayout.OnRefreshListener() { new SwipeRefreshLayout.OnRefreshListener() {
@Override @Override
@ -203,15 +200,6 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface,
}; };
} }
private void initiateLayoutRefresherRunnable()
{
layoutRefresherRunnable = new Runnable() {
@Override
public void run() {
}
};
}
private void setupAddCurrencyButton(View fragmentView) private void setupAddCurrencyButton(View fragmentView)
{ {
Button addCurrencyButton = fragmentView.findViewById(R.id.buttonAddTransaction); Button addCurrencyButton = fragmentView.findViewById(R.id.buttonAddTransaction);