Fix padding on iOS

This commit is contained in:
Vishnu Mohandas 2021-06-29 00:17:48 +05:30
parent 03450cf57f
commit 9e2b2fc6d9

View file

@ -11,6 +11,7 @@ import 'package:photos/ui/settings/settings_text_item.dart';
import 'package:photos/utils/data_util.dart';
import 'package:photos/utils/dialog_util.dart';
import 'package:photos/utils/navigation_util.dart';
import 'package:photos/utils/toast_util.dart';
import 'package:url_launcher/url_launcher.dart';
class BackupSectionWidget extends StatefulWidget {
@ -137,6 +138,10 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
),
),
onPressed: () {
if (Platform.isIOS) {
showToast(
"also empty \"Recently Deleted\" from \"Settings\" -> \"Storage\" to claim the freed space");
}
Navigator.of(context, rootNavigator: true).pop('dialog');
},
),