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 am also face this for displayMode as .hud, the text is outside the screen bounds:
alert:
.toast(isPresenting: $isValidating) {
AlertToast(displayMode: .hud,
type: .error(.errorRed),
title: error,subTitle: "this is messgae for error show and testing for long message proper display",
style: .style(backgroundColor: nil, titleColor: nil, subTitleColor: nil, titleFont: .system(size: 12), subTitleFont: nil))
}
I need help with how to solve this. just i need to title and subtitle make 2 line
.toast(isPresenting: $showToast) { AlertToast(displayMode: .hud, type: .regular, title: .init(localized: toastConfiguration?.text ?? "")) }
For display mode as alert, the AlertToast looks fine, but for displayMode as .hud, the text is outside the screen bounds:
alert:
hud:
The text was updated successfully, but these errors were encountered: