wear profile-null fix Toasts from strings.xml the second
This commit is contained in:
parent
68f4a2db50
commit
7eb8702a9c
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue