Skip to content

Commit

Permalink
Don't try to access manifest when there isn't one
Browse files Browse the repository at this point in the history
  • Loading branch information
xezno committed Nov 4, 2022
1 parent 27a1c3f commit e6167b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ToolsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private bool PaintPageOption( NavigationView.Option option, Manifest manifest )
iconRect.Left = inner.Right - 32;
iconRect.Top -= 2;

if ( manifest.CheckUpdateAvailable() )
if ( manifest?.CheckUpdateAvailable() ?? false )
{
Paint.SetPen( fg );
Paint.DrawIcon( iconRect, "update", 14, TextFlag.Center );
Expand Down

0 comments on commit e6167b5

Please sign in to comment.