From ce1ea8bf0742645f54849ab93fcfe0f910027e5a Mon Sep 17 00:00:00 2001 From: oliexdev Date: Sun, 17 Mar 2019 18:43:45 +0100 Subject: [PATCH] removed duplicate runUiToastMsg --- .../main/java/com/health/openscale/core/OpenScale.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/OpenScale.java b/android_app/app/src/main/java/com/health/openscale/core/OpenScale.java index a8e842e5..070d0f10 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/OpenScale.java +++ b/android_app/app/src/main/java/com/health/openscale/core/OpenScale.java @@ -714,14 +714,4 @@ public class OpenScale { public ScaleUserDAO getScaleUserDAO() { return userDAO; } - - private void runUiToastMsg(String text) { - Handler handler = new Handler(Looper.getMainLooper()); - handler.post(new Runnable() { - @Override - public void run() { - Toast.makeText(context, text, Toast.LENGTH_SHORT).show(); - } - }); - } }