mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-01 12:32:10 +00:00
Add subscription id memory
This commit is contained in:
parent
1b19ef54e4
commit
dcc8e6dc34
1 changed files with 3 additions and 1 deletions
|
@ -218,10 +218,11 @@ namespace v2rayN.ViewModels
|
|||
{
|
||||
EnableTun = true;
|
||||
}
|
||||
_subId = _config.subIndexId;
|
||||
|
||||
//RefreshServers();
|
||||
InitSubscriptionView();
|
||||
RefreshRoutingsMenu();
|
||||
RefreshServers();
|
||||
|
||||
var canEditRemove = this.WhenAnyValue(
|
||||
x => x.SelectedProfile,
|
||||
|
@ -691,6 +692,7 @@ namespace v2rayN.ViewModels
|
|||
return;
|
||||
}
|
||||
_subId = SelectedSub?.id;
|
||||
_config.subIndexId = _subId;
|
||||
|
||||
RefreshServers();
|
||||
|
||||
|
|
Loading…
Reference in a new issue