[mob][photos] Don't pop too often

This commit is contained in:
laurenspriem 2024-05-27 17:19:06 +05:30
parent 9cf5691e42
commit 380d37267b

View file

@ -89,8 +89,8 @@ class _MachineLearningSettingsPageState
iconButtonType: IconButtonType.secondary,
onTap: () {
Navigator.pop(context);
Navigator.pop(context);
Navigator.pop(context);
if (Navigator.canPop(context)) Navigator.pop(context);
if (Navigator.canPop(context)) Navigator.pop(context);
},
),
],