mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 21:57:26 +08:00
[+] Also enable shop name display in SDGA when CustomPlaceName is set
This commit is contained in:
@@ -17,4 +17,16 @@ public class CustomPlaceName
|
||||
__instance.ShopData.ShopName = AquaMai.AppConfig.UX.CustomPlaceName;
|
||||
__instance.ShopData.ShopNickName = AquaMai.AppConfig.UX.CustomPlaceName;
|
||||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(ResultCardBaseController), "Initialize")]
|
||||
public static void Initialize(ResultCardBaseController __instance)
|
||||
{
|
||||
if (string.IsNullOrEmpty(AquaMai.AppConfig.UX.CustomPlaceName))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
__instance.SetVisibleStoreName(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user