Skip to content

Commit

Permalink
Tweak to IsInternetOnMeteredConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermit Dave committed Jan 22, 2018
1 parent 7387986 commit 47f5e5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public bool IsInternetOnMeteredConnection
{
get
{
return ConnectionCost?.NetworkCostType != NetworkCostType.Unrestricted;
return ConnectionCost != null && ConnectionCost.NetworkCostType != NetworkCostType.Unrestricted;
}
}

Expand Down

0 comments on commit 47f5e5a

Please sign in to comment.