Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix comments

eYdr1end4bfbbf04c05
diff --git a/mobile/apps/auth/lib/utils/toast_util.dart b/mobile/apps/auth/lib/utils/toast_util.dart
index 8d53d42723..b8d2f73e89 100644
--- a/mobile/apps/auth/lib/utils/toast_util.dart
+++ b/mobile/apps/auth/lib/utils/toast_util.dart
@@ -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(