1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-28 10:40:47 +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() {
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();
}
});
}
}