diff --git a/Gallery.Share/Resources/UI/Definition.cs b/Gallery.Share/Resources/UI/Definition.cs
index f69e9d4..1c5d5a7 100644
--- a/Gallery.Share/Resources/UI/Definition.cs
+++ b/Gallery.Share/Resources/UI/Definition.cs
@@ -91,6 +91,7 @@ namespace Gallery.Resources.UI
}
else if (model.StartsWith("iPad"))
{
+ _isFullscreenDevice = false;
var vs = model[4..].Split(',');
if (vs.Length == 2 && int.TryParse(vs[0], out int main) && int.TryParse(vs[1], out int sub))
{
@@ -99,10 +100,6 @@ namespace Gallery.Resources.UI
var flag = main == 8 || (main == 13 && sub >= 4 && sub < 12);
_isBottomPadding = flag;
}
- else
- {
- _isFullscreenDevice = false;
- }
}
else
{
diff --git a/Gallery.Share/Resources/UI/GalleryCollectionPage.cs b/Gallery.Share/Resources/UI/GalleryCollectionPage.cs
index e9beccd..21d5be5 100644
--- a/Gallery.Share/Resources/UI/GalleryCollectionPage.cs
+++ b/Gallery.Share/Resources/UI/GalleryCollectionPage.cs
@@ -469,13 +469,17 @@ namespace Gallery.Resources.UI
{
item.PreviewImage = Definition.DownloadBackground;
#if DEBUG
- System.Threading.Thread.Sleep(500);
-#else
+ var model = Xamarin.Essentials.DeviceInfo.Model;
+ if (model.StartsWith("iPhone") || model.StartsWith("iPad"))
+ {
+#endif
var image = Store.LoadPreviewImage(item.PreviewUrl, true, force: true).Result;
if (image != null)
{
item.PreviewImage = image;
}
+#if DEBUG
+ }
#endif
}
return true;
diff --git a/Gallery.iOS/Gallery.iOS.csproj b/Gallery.iOS/Gallery.iOS.csproj
index 7838a37..667d981 100644
--- a/Gallery.iOS/Gallery.iOS.csproj
+++ b/Gallery.iOS/Gallery.iOS.csproj
@@ -60,6 +60,7 @@
-all
Gallery.Dev
9.0
+ true
none