Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix typo in Microsoft.Maui.Graphics.Color naming
  • Loading branch information
LarsPedersen authored Sep 18, 2024
1 parent 9a5f726 commit 27d122c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Part 5 - Theming the app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ The API for setting the status bar color is one of those functionalities that ca
// This whole block was added
if (DeviceInfo.Platform == DevicePlatform.Android || DeviceInfo.Platform == DevicePlatform.iOS)
{
StatusBar.SetColor(Microsoft.Maui.Graphics.Colors.FromArgb("#444034"));
StatusBar.SetColor(Microsoft.Maui.Graphics.Color.FromArgb("#444034"));
StatusBar.SetStyle(StatusBarStyle.LightContent);
}
}
Expand All @@ -375,7 +375,7 @@ The API for setting the status bar color is one of those functionalities that ca
// This whole block was added
if (DeviceInfo.Platform == DevicePlatform.Android || DeviceInfo.Platform == DevicePlatform.iOS)
{
StatusBar.SetColor(Microsoft.Maui.Graphics.Colors.FromArgb("#DDAF24"));
StatusBar.SetColor(Microsoft.Maui.Graphics.Color.FromArgb("#DDAF24"));
StatusBar.SetStyle(StatusBarStyle.DarkContent);
}
}
Expand All @@ -392,7 +392,7 @@ The API for setting the status bar color is one of those functionalities that ca
// This whole block was added
if (DeviceInfo.Platform == DevicePlatform.Android || DeviceInfo.Platform == DevicePlatform.iOS)
{
StatusBar.SetColor(Microsoft.Maui.Graphics.Colors.FromArgb("#444034"));
StatusBar.SetColor(Microsoft.Maui.Graphics.Color.FromArgb("#444034"));
StatusBar.SetStyle(StatusBarStyle.LightContent);
}
}
Expand All @@ -403,7 +403,7 @@ The API for setting the status bar color is one of those functionalities that ca
// This whole block was added
if (DeviceInfo.Platform == DevicePlatform.Android || DeviceInfo.Platform == DevicePlatform.iOS)
{
StatusBar.SetColor(Microsoft.Maui.Graphics.Colors.FromArgb("#DDAF24"));
StatusBar.SetColor(Microsoft.Maui.Graphics.Color.FromArgb("#DDAF24"));
StatusBar.SetStyle(StatusBarStyle.DarkContent);
}
}
Expand Down Expand Up @@ -467,4 +467,4 @@ You did it! Congratulations! You have built your first Blazor Hybrid application

With these fundamental skills you are now ready to start building yourself.

If you're feeling adventurous, there is [Part 6](../Part%206%20-%20Advanced%20Topics/README.md) with some more advanced topics.
If you're feeling adventurous, there is [Part 6](../Part%206%20-%20Advanced%20Topics/README.md) with some more advanced topics.

0 comments on commit 27d122c

Please sign in to comment.