Add subscription id memory
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user