@@ -1023,14 +1023,21 @@ public static async Task<RetResult> AddCustomServer4Multiple(Config config, List
1023
1023
1024
1024
var profileItem = await AppHandler . Instance . GetProfileItem ( indexId ) ?? new ( ) ;
1025
1025
profileItem . IndexId = indexId ;
1026
- profileItem . Remarks = multipleLoad switch
1026
+ if ( coreType == ECoreType . Xray )
1027
1027
{
1028
- EMultipleLoad . Random => ResUI . menuSetDefaultMultipleServerXrayRandom ,
1029
- EMultipleLoad . RoundRobin => ResUI . menuSetDefaultMultipleServerXrayRoundRobin ,
1030
- EMultipleLoad . LeastPing => ResUI . menuSetDefaultMultipleServerXrayLeastPing ,
1031
- EMultipleLoad . LeastLoad => ResUI . menuSetDefaultMultipleServerXrayLeastLoad ,
1032
- _ => ResUI . menuSetDefaultMultipleServerXrayRoundRobin ,
1033
- } ;
1028
+ profileItem . Remarks = multipleLoad switch
1029
+ {
1030
+ EMultipleLoad . Random => ResUI . menuSetDefaultMultipleServerXrayRandom ,
1031
+ EMultipleLoad . RoundRobin => ResUI . menuSetDefaultMultipleServerXrayRoundRobin ,
1032
+ EMultipleLoad . LeastPing => ResUI . menuSetDefaultMultipleServerXrayLeastPing ,
1033
+ EMultipleLoad . LeastLoad => ResUI . menuSetDefaultMultipleServerXrayLeastLoad ,
1034
+ _ => ResUI . menuSetDefaultMultipleServerXrayRoundRobin ,
1035
+ } ;
1036
+ }
1037
+ else if ( coreType == ECoreType . sing_box )
1038
+ {
1039
+ profileItem . Remarks = ResUI . menuSetDefaultMultipleServerSingBoxLeastPing ;
1040
+ }
1034
1041
profileItem . Address = Global . CoreMultipleLoadConfigFileName ;
1035
1042
profileItem . ConfigType = EConfigType . Custom ;
1036
1043
profileItem . CoreType = coreType ;
0 commit comments