/* * Private. */ private static void UpdateMenu() { var enabled = AssetsRefreshTool.GetRefreshOnPlayEnabled(); Menu.SetChecked(AutoRefreshEnabledMenuItem, !enabled); Menu.SetChecked(RefreshOnPlayMenuItem, enabled); enabled = AssetsRefreshTool.GetAppleSiliconFixEnabled(); Menu.SetChecked(AppleSiliconFixEnabledMenuItem, enabled); Menu.SetChecked(AppleSiliconFixDisabledMenuItem, !enabled); }
public static bool RefreshOnPlayValidation() { return(!AssetsRefreshTool.GetRefreshOnPlayEnabled() && !AssetsRefreshTool.GetAppleSiliconFixEnabled()); }