Skip to content

Commit

Permalink
added explaination
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantin Clerc committed Dec 19, 2023
1 parent 84dcbd0 commit 6b0e58f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file not shown.
4 changes: 3 additions & 1 deletion Geranium/Cleaner/CleanerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ struct CleanerView: View {
// OTA Update
@State public var OTAPath = "/var/MobileSoftwareUpdate/MobileAsset/AssetsV2/com_apple_MobileAsset_SoftwareUpdate/"
var body: some View {
if #available(iOS 16.0, *), UIDevice.current.userInterfaceIdiom == .pad {
if UIDevice.current.userInterfaceIdiom == .pad {
// Here we remove NavigationStack for iPads. Why ? Cause pressing "Exit" button with NavigationStack would make a blank screen
// TODO: Fix .navigationBarTitle for iPads
cleanerViewMain()
} else {
NavigationView {
Expand Down

0 comments on commit 6b0e58f

Please sign in to comment.