1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 02:59:57 +02:00

removed duplicate runUiToastMsg

This commit is contained in:
oliexdev
2019-03-17 18:43:45 +01:00
parent e39474351d
commit ce1ea8bf07

View File

@@ -714,14 +714,4 @@ public class OpenScale {
public ScaleUserDAO getScaleUserDAO() { public ScaleUserDAO getScaleUserDAO() {
return userDAO; 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();
}
});
}
} }