Upgrade intercom, fix loading animation

This commit is contained in:
Jackson Harper
2024-07-12 15:18:04 +08:00
parent 2b137c7706
commit 4d92643c33
4 changed files with 6 additions and 5 deletions

View File

@ -2043,7 +2043,7 @@
repositoryURL = "https://github.com/intercom/intercom-ios";
requirement = {
kind = exactVersion;
version = 11.1.2;
version = 17.1.2;
};
};
048F592A2790EAF800E0B494 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = {

View File

@ -122,8 +122,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/intercom/intercom-ios",
"state" : {
"revision" : "3345d9e7599141d7c844981423a7e5409f2bfb81",
"version" : "11.1.2"
"revision" : "ad789a51b350dffe804dbf083430e0d6e91ac4af",
"version" : "17.1.2"
}
},
{

View File

@ -820,8 +820,9 @@ struct AnimatingCellHeight: AnimatableModifier {
.onAppear {
self.isAnimating = true
}
.frame(height: 2)
}
.background(Color.white)
.background(.clear)
.edgesIgnoringSafeArea(.all)
}

View File

@ -219,7 +219,7 @@ enum LoadingBarStyle {
func loadItems(dataService: DataService, isRefresh: Bool, forceRemote: Bool = false, loadingBarStyle: LoadingBarStyle? = nil) async {
isLoading = true
showLoadingBar = isRefresh ? loadingBarStyle ?? .redacted : .none
showLoadingBar = .simple // isRefresh ? loadingBarStyle ?? .redacted : .none
if let filterState = filterState {
await fetcher.loadItems(