File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Toolkit/Toolkit.Maui/FloorFilter Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ internal async void NavigateForward(ContentPage page)
151
151
// The crash is caused by the CollectionView's VirtualView not being null during navigation, leading to an unhandled exception.
152
152
// This workaround uses PushAsync on Windows/Android platforms to prevent the crash. When the bug is fixed in MAUI, this conditional can be revisited.
153
153
// TODO: Remove this conditional when the MAUI bug is fixed.
154
- #if WINDOWS && ANDROID
154
+ #if WINDOWS || ANDROID
155
155
await Navigation . PushAsync ( page ) ;
156
156
#else
157
157
await Navigation . PushModalAsync ( page ) ;
@@ -173,7 +173,7 @@ internal async void CloseBrowsing()
173
173
// Workaround for .NET MAUI issue: https://github.com/dotnet/maui/issues/29512
174
174
// Use PushAsync on Windows/Android platforms to avoid the crash.
175
175
// TODO: Remove this conditional when the MAUI bug is fixed.
176
- #if WINDOWS && ANDROID
176
+ #if WINDOWS || ANDROID
177
177
await Navigation . PopAsync ( ) ;
178
178
#else
179
179
await Navigation . PopModalAsync ( ) ;
@@ -197,7 +197,7 @@ internal async void GoBack()
197
197
// Workaround for .NET MAUI issue: https://github.com/dotnet/maui/issues/29512
198
198
// Use PushAsync on Windows/Android platforms to avoid the crash.
199
199
// TODO: Remove this conditional when the MAUI bug is fixed.
200
- #if WINDOWS && ANDROID
200
+ #if WINDOWS || ANDROID
201
201
await Navigation . PopAsync ( ) ;
202
202
#else
203
203
await Navigation . PopModalAsync ( ) ;
You can’t perform that action at this time.
0 commit comments