1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 10:56:50 +01:00

Remove testing reflection code trying to disable pull to refresh in Activity List

This commit is contained in:
vanous 2020-10-11 18:24:36 +02:00
parent c41fda5072
commit 26f199a010

View File

@ -31,7 +31,6 @@ import com.github.mikephil.charting.charts.Chart;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
@ -62,14 +61,6 @@ public class ActivityListingChartFragment extends AbstractChartFragment {
stepListAdapter = new ActivityListingAdapter(getContext());
stepsList.setAdapter(stepListAdapter);
stepsDateView = rootView.findViewById(R.id.stepsDateView);
LOG.debug("PETR " + getHost());
try {
getChartsHost().getClass().getMethod("enableSwipeRefresh").invoke(false);
} catch (Exception e) {
LOG.debug("dsda", e);
}
//device.getClass().getMethod("cancelBondProcess").invoke(device);
//refresh();
return rootView;
}