mirror of https://github.com/2dust/v2rayN
Add subscription id memory
parent
1b19ef54e4
commit
dcc8e6dc34
|
@ -218,10 +218,11 @@ namespace v2rayN.ViewModels
|
||||||
{
|
{
|
||||||
EnableTun = true;
|
EnableTun = true;
|
||||||
}
|
}
|
||||||
|
_subId = _config.subIndexId;
|
||||||
|
|
||||||
//RefreshServers();
|
|
||||||
InitSubscriptionView();
|
InitSubscriptionView();
|
||||||
RefreshRoutingsMenu();
|
RefreshRoutingsMenu();
|
||||||
|
RefreshServers();
|
||||||
|
|
||||||
var canEditRemove = this.WhenAnyValue(
|
var canEditRemove = this.WhenAnyValue(
|
||||||
x => x.SelectedProfile,
|
x => x.SelectedProfile,
|
||||||
|
@ -691,6 +692,7 @@ namespace v2rayN.ViewModels
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_subId = SelectedSub?.id;
|
_subId = SelectedSub?.id;
|
||||||
|
_config.subIndexId = _subId;
|
||||||
|
|
||||||
RefreshServers();
|
RefreshServers();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue