From 56cbac3b4d93924a1d54530af38d4f7dab150ece Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sun, 6 May 2018 11:49:16 +0200 Subject: [PATCH] Leftover MainApp.gs rewrite. --- .../nightscout/androidaps/plugins/Insulin/InsulinFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Insulin/InsulinFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Insulin/InsulinFragment.java index a171d646e9..a524a5b318 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Insulin/InsulinFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Insulin/InsulinFragment.java @@ -52,7 +52,7 @@ public class InsulinFragment extends Fragment { private void updateGUI() { insulinName.setText(ConfigBuilderPlugin.getActiveInsulin().getFriendlyName()); insulinComment.setText(ConfigBuilderPlugin.getActiveInsulin().getComment()); - insulinDia.setText(MainApp.sResources.getText(R.string.dia) + " " + Double.toString(ConfigBuilderPlugin.getActiveInsulin().getDia()) + "h"); + insulinDia.setText(MainApp.gs(R.string.dia) + " " + Double.toString(ConfigBuilderPlugin.getActiveInsulin().getDia()) + "h"); insulinGraph.show(ConfigBuilderPlugin.getActiveInsulin()); }