You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a wrapper class where the Toast#builder is invoked. In this class, I also configure the application name. But in Windows, is displayed Open JDK Platform binary in the application name, as you see below
Below is the wrapper class where the app name is defined as PrintRouter
public class ToastNotification implements IToast {
public ToastNotification() {
var settings = new ToasterSettings().setAppName("PrintRouter");
ToasterFactory.setSettings(settings);
}
@Override
public void showErrorMessage(String message) {
Toast.builder()
.type(ToastType.ERROR)
.title("PrintRouter Erro")
.content(message)
.icon(getIconURL())
.timeout(PrintRouterConstants.TOAST_TIMEOUT)
.toast();
}
@Override
public void showSuccessMessage(String message) {
Toast.builder()
.type(ToastType.INFO)
.title("PrintRouter Info")
.content(message)
.icon(getIconURL())
.timeout(PrintRouterConstants.TOAST_TIMEOUT)
.toast();
}
private String getIconURL() {
return new File(PrintRouterConstants.iconPath()).toString();
}
}
In Linux, it works fine
Regards,
Tiago Godoy.
The text was updated successfully, but these errors were encountered:
Hi there!
I have a wrapper class where the Toast#builder is invoked. In this class, I also configure the application name. But in Windows, is displayed
Open JDK Platform binary
in the application name, as you see belowBelow is the wrapper class where the app name is defined as
PrintRouter
In Linux, it works fine
Regards,
Tiago Godoy.
The text was updated successfully, but these errors were encountered: