From cb95c51fe17d1bd4f36a4c3dea45d807a98f728d Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Mon, 23 May 2022 10:24:14 +0400 Subject: [PATCH 1/4] ios: hide CallViewDebug --- apps/ios/Shared/Views/UserSettings/SettingsView.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/ios/Shared/Views/UserSettings/SettingsView.swift b/apps/ios/Shared/Views/UserSettings/SettingsView.swift index 3119c3a77d..05af85086b 100644 --- a/apps/ios/Shared/Views/UserSettings/SettingsView.swift +++ b/apps/ios/Shared/Views/UserSettings/SettingsView.swift @@ -126,12 +126,12 @@ struct SettingsView: View { // notificationsToggle(token) // } // } - NavigationLink { - CallViewDebug() - .frame(maxHeight: .infinity, alignment: .top) - } label: { +// NavigationLink { +// CallViewDebug() +// .frame(maxHeight: .infinity, alignment: .top) +// } label: { Text("v\(appVersion ?? "?") (\(appBuild ?? "?"))") - } +// } } } .navigationTitle("Your settings") From d572cfbc094d5a3c612a083ee074a637ac063984 Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Mon, 23 May 2022 10:38:37 +0400 Subject: [PATCH 2/4] ios: version 2.1.0 (48) --- apps/ios/SimpleX.xcodeproj/project.pbxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ios/SimpleX.xcodeproj/project.pbxproj b/apps/ios/SimpleX.xcodeproj/project.pbxproj index ae896e07b7..f4f5559a2f 100644 --- a/apps/ios/SimpleX.xcodeproj/project.pbxproj +++ b/apps/ios/SimpleX.xcodeproj/project.pbxproj @@ -923,7 +923,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = "SimpleX (iOS).entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 47; + CURRENT_PROJECT_VERSION = 48; DEVELOPMENT_TEAM = 5NN7GUYB6T; ENABLE_BITCODE = NO; ENABLE_PREVIEWS = YES; @@ -965,7 +965,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = "SimpleX (iOS).entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 47; + CURRENT_PROJECT_VERSION = 48; DEVELOPMENT_TEAM = 5NN7GUYB6T; ENABLE_BITCODE = NO; ENABLE_PREVIEWS = YES; @@ -1046,7 +1046,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = "SimpleX NSE/SimpleX NSE.entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 47; + CURRENT_PROJECT_VERSION = 48; DEVELOPMENT_TEAM = 5NN7GUYB6T; ENABLE_BITCODE = NO; GENERATE_INFOPLIST_FILE = YES; @@ -1086,7 +1086,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = "SimpleX NSE/SimpleX NSE.entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 47; + CURRENT_PROJECT_VERSION = 48; DEVELOPMENT_TEAM = 5NN7GUYB6T; ENABLE_BITCODE = NO; GENERATE_INFOPLIST_FILE = YES; From f7eeb4d1e3050c1524fba46cede8cd2faf9b6f38 Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Mon, 23 May 2022 13:44:49 +0400 Subject: [PATCH 3/4] android: fix compose view clearing state prematurely (#689) --- .../src/main/java/chat/simplex/app/views/chat/ComposeView.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt b/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt index aa0f6c4085..bd87d253de 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/views/chat/ComposeView.kt @@ -326,6 +326,7 @@ fun ComposeView( mc = updateMsgContent(oldMsgContent) ) if (updatedItem != null) chatModel.upsertChatItem(cInfo, updatedItem.chatItem) + clearState() } } } @@ -369,11 +370,13 @@ fun ComposeView( mc = mc ) if (aChatItem != null) chatModel.addChatItem(cInfo, aChatItem.chatItem) + clearState() } + } else { + clearState() } } } - clearState() } fun onMessageChange(s: String) { From 79dcada7579a775f914f901f4fa61adfa0908a00 Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Mon, 23 May 2022 13:56:08 +0400 Subject: [PATCH 4/4] android: version 2.1.0 (33) --- apps/android/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/app/build.gradle b/apps/android/app/build.gradle index 7d8353e9f2..dd89c25fdc 100644 --- a/apps/android/app/build.gradle +++ b/apps/android/app/build.gradle @@ -11,7 +11,7 @@ android { applicationId "chat.simplex.app" minSdk 29 targetSdk 32 - versionCode 32 + versionCode 33 versionName "2.1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"