Skip to content

Commit

Permalink
修正订阅路径不会自动保存的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Mar 10, 2024
1 parent 00ed2db commit d291902
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions Aria2Fast/Service/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ private void AppConfigData_PropertyChanged(object? sender, PropertyChangedEventA
/// </summary>
public Dictionary<string, string> AddTaskSavePathDict { get; set; } = new Dictionary<string, string>();

/// <summary>
/// 设备默认选择订阅的分区对应表
/// 【设备ID->分区路径】
/// </summary>
public Dictionary<string, string> AddSubscriptionSavePartitionDict { get; set; } = new Dictionary<string, string>();

/// <summary>
/// 分区路径->存储路径
/// 【分区路径->存储路径】
Expand Down
2 changes: 1 addition & 1 deletion Aria2Fast/View/AddSubscriptionView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private void LoadDefaultPathSelected()
{
try
{
if (AppConfig.Instance.ConfigData.AddTaskSavePathDict.TryGetValue(AppConfig.Instance.ConfigData.Aria2RpcAuto, out var path))
if (AppConfig.Instance.ConfigData.AddSubscriptionSavePathDict.TryGetValue(AppConfig.Instance.ConfigData.Aria2RpcAuto, out var path))
{
this.TextBoxPath.Text = path;
}
Expand Down

0 comments on commit d291902

Please sign in to comment.