fix: bugs

deeplink
胡宇飞 2024-05-24 16:48:23 +08:00
parent 8d1afddcd5
commit c2be368962
1 changed files with 2 additions and 2 deletions

View File

@ -252,12 +252,12 @@ namespace Guru
if (Model.IsNoAds) SetBuyNoAds(true); // 设置用户已经购买了去广告
}
private static HashSet<string> _userPropertyExistKeys = new HashSet<string>(50);
private static HashSet<string> _userPropertyExistKeys = new HashSet<string>();
private static void RecordUserPropertyKey(string key)
{
if(_userPropertyExistKeys == null)
_userPropertyExistKeys = new HashSet<string>(50);
_userPropertyExistKeys = new HashSet<string>();
if(!HasUserPropertyKey(key)) _userPropertyExistKeys.Add(key);
}