Skip to content

Commit 1dc4571

Browse files
committed
fix: navbar back icon on mobile
1 parent 8fc6721 commit 1dc4571

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/TubePlayer/src/TubePlayer/Presentation/VideoDetailsPage.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public VideoDetailsPage()
4646
new NavigationBar()
4747
.HorizontalContentAlignment(HorizontalAlignment.Left)
4848
.Content("Video")
49+
#if !__ANDROID__ && !__IOS__
4950
.MainCommand
5051
(
5152
new AppBarButton()
@@ -55,7 +56,10 @@ public VideoDetailsPage()
5556
.Data(StaticResource.Get<Geometry>("Icon_Arrow_Back"))
5657
.Foreground(Theme.Brushes.OnSurface.Default)
5758
)
58-
),
59+
)
60+
#endif
61+
,
62+
5963
// MediaPlayerElement currently isn't supported on Skia Desktop, videos are not be playable
6064
// It is listed as a future improvement: https://platform.uno/docs/articles/controls/MediaPlayerElement.html#future-improvement
6165
// Related issue: https://github.com/unoplatform/Uno.Samples/issues/725

0 commit comments

Comments
 (0)