Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix issues + bump version

Prateek Sunale4ec0cbdafcd
diff --git a/mobile/native/android/apps/ensu/app-ui/build.gradle.kts b/mobile/native/android/apps/ensu/app-ui/build.gradle.kts
index a330b4ddae..ef36918ae2 100644
--- a/mobile/native/android/apps/ensu/app-ui/build.gradle.kts
+++ b/mobile/native/android/apps/ensu/app-ui/build.gradle.kts
@@ -51,7 +51,7 @@ android {
applicationId = "io.ente.ensu"
minSdk = 24
targetSdk = 35
- versionCode = 11
+ versionCode = 12
versionName = "0.1.2"
buildConfigField("String", "API_ENDPOINT", "\"$apiEndpointOverride\"")
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj b/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj
index 93fceef9d4..e8ba2269ed 100644
--- a/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj
+++ b/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj
@@ -509,7 +509,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 6;
+ CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = 6Z68YJY9Q2;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -570,7 +570,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 5;
+ CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = 6Z68YJY9Q2;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift
index 90ee91b199..33a889dddb 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatViewModel.swift
@@ -789,7 +789,7 @@ final class ChatViewModel: ObservableObject {
Task.detached { [weak self] in
guard let self else { return }
do {
- try self.prepareOnlineStores(auth: auth)
+ try await self.prepareOnlineStores(auth: auth)
} catch {
await MainActor.run {
self.syncState = .error("Failed to prepare online chats")
@@ -801,7 +801,7 @@ final class ChatViewModel: ObservableObject {
self.reloadFromDb()
}
- let syncEngine = self.syncEngine
+ let syncEngine = await self.syncEngine
if let localStatus = syncEngine.checkMigrationStatusLocal() {
await self.handleMigrationStatus(localStatus, auth: auth)
return
@@ -870,7 +870,7 @@ final class ChatViewModel: ObservableObject {
await MainActor.run {
self.syncState = .error(userMessage)
if showErrors {
- self.syncErrorMessage = formatSyncErrorMessage(userMessage)
+ self.syncErrorMessage = self.formatSyncErrorMessage(userMessage)
}
}
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Info.plist b/mobile/native/darwin/Apps/ensu/ensu/Info.plist
index 3eb5511f09..0d47968b0c 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Info.plist
+++ b/mobile/native/darwin/Apps/ensu/ensu/Info.plist
@@ -24,7 +24,7 @@
<string>0.1.0</string>
<key>CFBundleVersion</key>
- <string>12</string>
+ <string>13</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>