Skip to content

Commit 0129fc4

Browse files
Use bits of BedrockUI wherever possible
1 parent e74d741 commit 0129fc4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

MCMaps/Red Window/Views/Library/RedWindowPinLibraryView.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Created by Marquis Kurt on 16-06-2025.
66
//
77

8+
import BedrockUI
89
import CubiomesKit
910
import MCMap
1011
import SwiftUI
@@ -122,9 +123,7 @@ struct RedWindowPinLibraryView: View {
122123
file.pins[index] = newValue
123124
}, file: $file
124125
)
125-
#if os(iOS)
126-
.navigationTransition(.zoom(sourceID: pin, in: namespace))
127-
#endif
126+
.zoomTransition(sourceID: pin, namespace: namespace)
128127
}
129128
}
130129
.sheet(isPresented: $displayForm) {

0 commit comments

Comments
 (0)