Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
naweed committed Aug 20, 2022
1 parent d72e9bc commit 46e7d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MauiTubePlayer/ViewModels/StartPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public override async void OnNavigatedTo(object parameters)
{
await Task.Delay(5000);

throw new Exception("Unable to reach Google Youtube API Service");
//throw new Exception("Unable to reach Google Youtube API Service");

this.DataLoaded = true;
}
Expand Down
3 changes: 2 additions & 1 deletion src/MauiTubePlayer/Views/StartPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
Style="{StaticResource MediumLightText20}"
IsVisible="{Binding DataLoaded, Mode=OneWay}"
VerticalOptions="Center"
HorizontalOptions="Center" />
HorizontalOptions="Center"
Text="Data has been loaded" />

</baseviews:ViewBase.PageContent>

Expand Down

0 comments on commit 46e7d60

Please sign in to comment.