Skip to content

Commit

Permalink
Actually load the saved download provider
Browse files Browse the repository at this point in the history
  • Loading branch information
dukemiller committed May 17, 2017
1 parent 719497f commit 311f8ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anime-downloader/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("0.20.0.*")]
[assembly: AssemblyVersion("0.20.1.*")]
// [assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: NeutralResourcesLanguage("en")]
2 changes: 1 addition & 1 deletion anime-downloader/Services/XmlSettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public XmlSettingsService()
[XmlElement("Version")]
public VersionCheck Version { get; set; }

public DownloadProvider Provider { get; set; } = DownloadProvider.NyaaPantsu;
public DownloadProvider Provider { get; set; }

[NeedsUpdating]
public bool CrucialDirectoriesExist()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class DownloadOptionsViewModel : ViewModelBase
public DownloadOptionsViewModel(ISettingsService settings)
{
_settings = settings;
_currentProvider = _settings.Provider;
Options = new ObservableCollection<RadioModel<DownloadOption>> { NextEpisode, Continually, Missing };
SelectedRadio = Options.First();
SearchCommand = new RelayCommand(() => MessengerInstance.Send(SelectedRadio));
Expand Down

0 comments on commit 311f8ca

Please sign in to comment.