Ripristinata visualizzazione del cliente in creazione UL in Spedizione.

Sistemato provider del mainHandler
This commit is contained in:
2023-06-15 16:47:37 +02:00
parent 8b04f3e696
commit 099d5fa54d
4 changed files with 16 additions and 6 deletions

View File

@@ -2,7 +2,6 @@ package it.integry.integrywmsnative;
import android.app.Application;
import android.os.Handler;
import android.os.Looper;
import androidx.core.os.HandlerCompat;
@@ -72,7 +71,7 @@ public class MainApplicationModule {
@Provides
@Singleton
public Handler providesMainThreadHandler() {
return HandlerCompat.createAsync(Looper.getMainLooper());
return HandlerCompat.createAsync(mApplication.getApplicationContext().getMainLooper());
}
@Provides