fix comments

This commit is contained in:
eYdr1en
2025-08-08 12:40:51 +02:00
parent 92a03ce585
commit d4bfbbf04c

View File

@@ -10,7 +10,7 @@ void showToast(
toastLength = Toast.LENGTH_LONG,
iOSDismissOnTap = true,
}) async {
// If on mobile and keyboard is visible, render toast above the keyboard using FToast.
// If on mobile render toast above the keyboard using FToast.
final bool isMobile = PlatformUtil.isMobile();
if (isMobile) {
@@ -61,7 +61,7 @@ void showToast(
return;
}
// Default path (Android, desktop, or when keyboard isn't visible)
// Default path (desktop)
try {
await Fluttertoast.cancel();
await Fluttertoast.showToast(