switch basal colors

This commit is contained in:
Milos Kozak 2016-08-09 08:39:45 +02:00
parent 9591aed93c
commit 77222a6c0a
2 changed files with 3 additions and 2 deletions

View file

@ -203,6 +203,7 @@ public class ExecutionService extends Service {
try { try {
mRfcommSocket.connect(); mRfcommSocket.connect();
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace();
} }
waitMsec(1000); waitMsec(1000);

View file

@ -475,8 +475,8 @@ public class OverviewFragment extends Fragment {
@Override @Override
public int get(DataPoint data) { public int get(DataPoint data) {
BarDataPoint point = (BarDataPoint) data; BarDataPoint point = (BarDataPoint) data;
if (point.isTempBasal) return Color.CYAN; if (point.isTempBasal) return Color.BLUE;
else return Color.BLUE; else return Color.CYAN;
} }
}); });