From c31f8e60a4724eddb40661a63ec4d6c73b73672f Mon Sep 17 00:00:00 2001 From: nain <126972030+nain-F49FF806@users.noreply.github.com> Date: Tue, 29 Oct 2024 18:10:21 +0000 Subject: [PATCH] Release 2024.10.29 --- android/app/build.gradle.kts | 2 +- .../alt/nainapps/sharepaste/common/EncryptCompose.kt | 4 +--- .../source-fdroid/play/release-notes/en-US/default.txt | 9 +++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index cc6d1aa..9df917f 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -13,7 +13,7 @@ android { applicationId = "alt.nainapps.sharepaste" minSdk = 26 targetSdk = 35 - versionCode = 1730223000 + versionCode = 1730225000 versionName = "2024.10.29" setProperty("archivesBaseName", "sharepaste.oo") diff --git a/android/app/src/main/java/alt/nainapps/sharepaste/common/EncryptCompose.kt b/android/app/src/main/java/alt/nainapps/sharepaste/common/EncryptCompose.kt index d5db251..e174b7f 100644 --- a/android/app/src/main/java/alt/nainapps/sharepaste/common/EncryptCompose.kt +++ b/android/app/src/main/java/alt/nainapps/sharepaste/common/EncryptCompose.kt @@ -29,7 +29,6 @@ import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf -import androidx.compose.runtime.remember import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.runtime.saveable.rememberSaveable import androidx.compose.runtime.setValue @@ -64,7 +63,6 @@ fun EncryptAndShareUI( var openDiscussion by rememberSaveable { mutableStateOf(false) } var errorString by rememberSaveable { mutableStateOf("") } val coroutineScope = rememberCoroutineScope() - var textFieldHeight: Int? by remember { mutableStateOf(null) } Column( modifier = @@ -76,6 +74,7 @@ fun EncryptAndShareUI( horizontalAlignment = Alignment.CenterHorizontally ) { val density = LocalDensity.current + var textFieldHeight: Int? by rememberSaveable { mutableStateOf(null) } OutlinedTextField( value = textToEncrypt, onValueChange = { textToEncrypt = it }, @@ -88,7 +87,6 @@ fun EncryptAndShareUI( }, singleLine = false, minLines = 3, - modifier = Modifier .fillMaxWidth() .onSizeChanged { textFieldHeight = it.height }, diff --git a/android/app/src/source-fdroid/play/release-notes/en-US/default.txt b/android/app/src/source-fdroid/play/release-notes/en-US/default.txt index 01057ea..a131f86 100644 --- a/android/app/src/source-fdroid/play/release-notes/en-US/default.txt +++ b/android/app/src/source-fdroid/play/release-notes/en-US/default.txt @@ -1,8 +1,9 @@ -## +## 2024.10.29 -* Add Paste format toggle icon -* Use upstream pbcli -* Update dependencies +* Use upstream pbcli rust code + - which now include our uniffi bindings contribution! +* Allow changing paste format manually with cute format toggle icon +* Update and fix test ## 2024.10.21