Hide lock orientation setting on iOS because it is not supported

This commit is contained in:
advplyr
2023-09-17 12:53:38 -05:00
parent 01178d00bf
commit 8c9bd53934
+2 -1
View File
@@ -8,7 +8,8 @@
</div>
<p class="pl-4">Use bookshelf view</p>
</div>
<div class="flex items-center py-3" @click.stop="toggleLockOrientation">
<!-- screen.orientation.lock not supported on iOS webview -->
<div v-if="!isiOS" class="flex items-center py-3" @click.stop="toggleLockOrientation">
<div class="w-10 flex justify-center pointer-events-none">
<ui-toggle-switch v-model="lockCurrentOrientation" />
</div>