Merge pull request #37 from RobGibbens/patch-1

Fix typo of "InitilizeMedia" in MainActivity
pull/41/head
James Montemagno 2022-02-07 14:28:02 -08:00 committed by GitHub
commit 960df3d590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,10 @@ public class MainActivity : MauiAppCompatActivity
instance = this;
NotificationHelper.CreateNotificationChannel(ApplicationContext);
if (mediaPlayerServiceConnection == null)
InitilizeMedia();
InitializeMedia();
}
private void InitilizeMedia()
private void InitializeMedia()
{
mediaPlayerServiceIntent = new Intent(ApplicationContext, typeof(MediaPlayerService));
mediaPlayerServiceConnection = new MediaPlayerServiceConnection(this);