Skip to content

Commit

Permalink
(GH-782) Ensure correct property is used
Browse files Browse the repository at this point in the history
When setting up the RemoteSourceViewModel, the DefaultToTileViewForLocalSource was
being used, where the DefaultToTileViewForRemoteSource used be getting used instead.
  • Loading branch information
gep13 committed Jun 17, 2020
1 parent aedf5b1 commit 7e71fc4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -347,7 +347,7 @@ protected override void OnInitialize()
{
try
{
ListViewMode = _configService.GetAppConfiguration().DefaultToTileViewForLocalSource ? ListViewMode.Tile : ListViewMode.Standard;
ListViewMode = _configService.GetAppConfiguration().DefaultToTileViewForRemoteSource ? ListViewMode.Tile : ListViewMode.Standard;
ShowAdditionalPackageInformation = _configService.GetAppConfiguration().ShowAdditionalPackageInformation;

Observable.FromEventPattern<EventArgs>(_configService, "SettingsChanged")
Expand Down Expand Up @@ -424,4 +424,4 @@ private void SubscribeToLoadPackagesOnSearchQueryChange()
#pragma warning restore 4014
}
}
}
}

0 comments on commit 7e71fc4

Please sign in to comment.