Skip to content

Commit

Permalink
Merge pull request #1114 from Microsoft/NetworkHelper-Tweak
Browse files Browse the repository at this point in the history
ConnectionInformation tweak
  • Loading branch information
nmetulev authored Apr 21, 2017
2 parents ceef571 + 495b4ad commit 7d8bc3b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ public virtual void UpdateConnectionInformation(ConnectionProfile profile)
ConnectivityLevel = profile.GetNetworkConnectivityLevel();
ConnectionCost = profile.GetConnectionCost();
SignalStrength = profile.GetSignalBars();
networkNames.AddRange(profile.GetNetworkNames());

var names = profile.GetNetworkNames();
if (names?.Count > 0)
{
networkNames.AddRange(names);
}

switch (ConnectivityLevel)
{
Expand Down

0 comments on commit 7d8bc3b

Please sign in to comment.