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:
@@ -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();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user