wear profile-null fix Toasts from strings.xml the second

This commit is contained in:
AdrianLxM 2016-12-01 10:54:19 +01:00
parent 68f4a2db50
commit 7eb8702a9c

View file

@ -260,7 +260,7 @@ public class WatchUpdaterService extends WearableListenerService implements
if (!graph_bgs.isEmpty()) { if (!graph_bgs.isEmpty()) {
DataMap entries = dataMapSingleBG(last_bg, glucoseStatus); DataMap entries = dataMapSingleBG(last_bg, glucoseStatus);
if(entries==null) { if(entries==null) {
ToastUtils.showToastInUiThread(this,"No profile set yet?"); ToastUtils.showToastInUiThread(this, getString(R.string.noprofile));
return; return;
} }
final ArrayList<DataMap> dataMaps = new ArrayList<>(graph_bgs.size()); final ArrayList<DataMap> dataMaps = new ArrayList<>(graph_bgs.size());