bug fix
This commit is contained in:
@@ -521,11 +521,18 @@ export class ThemePanel extends li_BaseView {
|
||||
const walletData = DataManager.I.getDataById<WalletData>(DataId.Wallet);
|
||||
|
||||
if (!walletData.isVip) {
|
||||
this.vipLeftTime.string = LanguageUtils.getText("purchasepanel.notvip");
|
||||
//this.vipLeftTime.string = LanguageUtils.getText("purchasepanel.notvip");
|
||||
this._nodeTab.notvipicon.active = true;
|
||||
this._nodeTab.notVip.active = true;
|
||||
this.vipLeftTime.node.active = false;
|
||||
} else {
|
||||
const vipExpire = walletData.vipExpire;
|
||||
|
||||
const leftTime = Utils.formatVipLeftTime(vipExpire);
|
||||
this.vipLeftTime.node.active = true;
|
||||
|
||||
this._nodeTab.notvipicon.active = false;
|
||||
this._nodeTab.notVip.active = false;
|
||||
|
||||
if (leftTime == null) {
|
||||
LanguageUtils.getText("purchasepanel.notvip");
|
||||
|
||||
Reference in New Issue
Block a user