This commit is contained in:
2026-02-05 00:02:33 +08:00
parent ca9226015d
commit 6cf9b8df56
33 changed files with 100 additions and 84 deletions

View File

@@ -82,16 +82,15 @@ namespace NBF
var url = UIPackage.GetItemURL(UIPackName, "SettingSubTitleItem");
var groupIndex = 0;
foreach (var key in groupOptions.Keys)
{
var value = groupOptions[key];
if (groupIndex > 0)
if (List.AddItemFromPool(url) is GLabel label)
{
if (List.AddItemFromPool(url) is GLabel label)
{
label.SetLanguage(key);
}
label.SetLanguage(key);
}
foreach (var option in value)
@@ -103,8 +102,6 @@ namespace NBF
_canSelectIndex.Add(index);
}
}
groupIndex++;
}
}