Skip to content

Commit

Permalink
fix crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
luvletter2333 committed Mar 28, 2023
1 parent 31266a5 commit 8fd846b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32968,6 +32968,7 @@ private void nkbtn_onclick_actionbar(int id) {

private void nkbtn_onclick(int id) {
// from "items"
createUndoView();
switch (id) {
case nkbtn_repeat: {
repeatMessage(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ private void updateButtonText(boolean animated) {
animated = false;
}
if (BuildVars.IS_BILLING_UNAVAILABLE) {
premiumButtonView.setButton(getPremiumButtonText(currentAccount, subscriptionTiers.get(selectedTierIndex)), v -> buyPremium(this), animated);
premiumButtonView.setButton(getPremiumButtonText(currentAccount, null), v -> buyPremium(this), animated);
return;
}
if (!BuildVars.useInvoiceBilling() && (!BillingController.getInstance().isReady() || subscriptionTiers.isEmpty() || selectedTierIndex >= subscriptionTiers.size() || subscriptionTiers.get(selectedTierIndex).googlePlayProductDetails == null)) {
Expand Down

0 comments on commit 8fd846b

Please sign in to comment.