mirror of https://github.com/2dust/v2rayN
Add subscription id memory
parent
1b19ef54e4
commit
dcc8e6dc34
|
@ -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 New Issue