mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Remove testing reflection code trying to disable pull to refresh in Activity List
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user