Fix build

This commit is contained in:
Isaac 2024-07-12 12:03:08 +04:00
parent 08461a1625
commit 6f5db414df
3 changed files with 7 additions and 0 deletions

View File

@ -95,6 +95,8 @@ beta_testflight:
except: except:
- tags - tags
script: script:
- export PATH=/opt/homebrew/opt/ruby/bin:$PATH
- export PATH=`gem environment gemdir`/bin:$PATH
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appstore-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=appstore --configuration=release_arm64 - python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appstore-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=appstore --configuration=release_arm64
environment: environment:
name: testflight_llc name: testflight_llc

View File

@ -729,6 +729,9 @@ private final class PendingInAppPurchaseState: Codable {
self = .giveaway(boostPeer: boostPeer, additionalPeerIds: additionalPeerIds, countries: countries, onlyNewSubscribers: onlyNewSubscribers, showWinners: showWinners, prizeDescription: prizeDescription, randomId: randomId, untilDate: untilDate) self = .giveaway(boostPeer: boostPeer, additionalPeerIds: additionalPeerIds, countries: countries, onlyNewSubscribers: onlyNewSubscribers, showWinners: showWinners, prizeDescription: prizeDescription, randomId: randomId, untilDate: untilDate)
case let .stars(count, _, _): case let .stars(count, _, _):
self = .stars(count: count) self = .stars(count: count)
case let .starsGift(_, count, _, _):
//TODO:localize
self = .stars(count: count)
} }
} }

View File

@ -994,6 +994,8 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
} }
case .unknown: case .unknown:
attributedString = nil attributedString = nil
case .paymentRefunded, .giftStars:
attributedString = nil
} }
break break