TF-1792 Hide banner empty trash when mailbox trash empty emails
(cherry picked from commit b0533ebb3e480b737a84085d6743eba1b8c897a6)
This commit is contained in:
@@ -48,6 +48,25 @@ class AppToast {
|
||||
);
|
||||
}
|
||||
|
||||
void showToastWarningMessage(
|
||||
BuildContext context,
|
||||
String message,
|
||||
{
|
||||
Color? leadingSVGIconColor,
|
||||
String? leadingSVGIcon,
|
||||
}
|
||||
) {
|
||||
final imagePaths = Get.find<ImagePaths>();
|
||||
showToastMessage(
|
||||
context,
|
||||
message,
|
||||
backgroundColor: AppColor.toastWarningBackgroundColor,
|
||||
textColor: Colors.white,
|
||||
leadingSVGIconColor: leadingSVGIconColor ?? (leadingSVGIcon == null ? Colors.white : null),
|
||||
leadingSVGIcon: leadingSVGIcon ?? imagePaths.icInfoCircleOutline
|
||||
);
|
||||
}
|
||||
|
||||
void showToastMessage(
|
||||
BuildContext context,
|
||||
String message,
|
||||
|
||||
Reference in New Issue
Block a user