Skip to content

Open-source Android PDF and document toolkit with PDF tools, Office viewing, XLSX editing, scanning, and image editing. Built with Kotlin and Jetpack Compose.

Add Liquid Glass to the release What's New screen

chethan6161a3d28730083
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index d7171a3..ba6659e 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -45,8 +45,8 @@ android {
minSdk = 23
targetSdk = 36
// Keep this a literal: F-Droid's update checker reads it from this file.
- versionCode = 7
- versionName = "2.2.0"
+ versionCode = 8
+ versionName = "2.2.1"
// Keep every locale declared by the app. Filtering this to English
// removes values-pt-rBR from the packaged APK, so the language picker
// can appear to work while the app continues to resolve English.
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt
index 2d00fef..65c60f6 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt
@@ -23,6 +23,7 @@ import androidx.compose.material.icons.rounded.FileDownload
import androidx.compose.material.icons.rounded.Link
import androidx.compose.material.icons.rounded.Lock
import androidx.compose.material.icons.rounded.MenuBook
+import androidx.compose.material.icons.rounded.Tune
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.remember
@@ -55,6 +56,7 @@ import kotlinx.coroutines.launch
private class WhatsNewItem(val icon: ImageVector, val accent: Color, val title: Int, val desc: Int)
private val WhatsNewItems = listOf(
+ WhatsNewItem(Icons.Rounded.Tune, LiquidGlassColors.Teal, R.string.whats_new_glass_title, R.string.whats_new_glass_desc),
WhatsNewItem(Icons.Rounded.Lock, LiquidGlassColors.Indigo, R.string.whats_new_encrypt_title, R.string.whats_new_encrypt_desc),
WhatsNewItem(Icons.Rounded.MenuBook, LiquidGlassColors.Blue, R.string.whats_new_reading_title, R.string.whats_new_reading_desc),
WhatsNewItem(Icons.Rounded.FileDownload, LiquidGlassColors.Green, R.string.whats_new_copy_title, R.string.whats_new_copy_desc),
diff --git a/fastlane/metadata/android/en-US/changelogs/8.txt b/fastlane/metadata/android/en-US/changelogs/8.txt
new file mode 100644
index 0000000..60256da
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/8.txt
@@ -0,0 +1 @@
+• What's New now highlights Liquid Glass customization, with blur, refraction, tint and preset controls
diff --git a/fastlane/metadata/android/en-US/changelogs/81.txt b/fastlane/metadata/android/en-US/changelogs/81.txt
new file mode 100644
index 0000000..60256da
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/81.txt
@@ -0,0 +1 @@
+• What's New now highlights Liquid Glass customization, with blur, refraction, tint and preset controls
diff --git a/fastlane/metadata/android/en-US/changelogs/82.txt b/fastlane/metadata/android/en-US/changelogs/82.txt
new file mode 100644
index 0000000..60256da
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/82.txt
@@ -0,0 +1 @@
+• What's New now highlights Liquid Glass customization, with blur, refraction, tint and preset controls
diff --git a/fastlane/metadata/android/en-US/changelogs/83.txt b/fastlane/metadata/android/en-US/changelogs/83.txt
new file mode 100644
index 0000000..60256da
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/83.txt
@@ -0,0 +1 @@
+• What's New now highlights Liquid Glass customization, with blur, refraction, tint and preset controls
diff --git a/fastlane/metadata/android/en-US/changelogs/84.txt b/fastlane/metadata/android/en-US/changelogs/84.txt
new file mode 100644
index 0000000..60256da
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/84.txt
@@ -0,0 +1 @@
+• What's New now highlights Liquid Glass customization, with blur, refraction, tint and preset controls
diff --git a/readme.md b/readme.md
index b382c80..ec35940 100644
--- a/readme.md
+++ b/readme.md
@@ -100,7 +100,7 @@ ClearPDF annotates PDFs and edits form fields, signatures, and pages, but it doe
## Download
-The current stable release is **V5.2 (app version 2.2.0)**.
+The current stable release is **V5.2.1 (app version 2.2.1)**.
<p>
<a href="https://github.com/Chethan616/ClearPDF/releases/latest"><img src="https://img.shields.io/badge/Go%20to-Latest%20Release-0A84FF?style=for-the-badge&logo=github&logoColor=white" alt="Go to the latest release page"></a>
diff --git a/release-notes/v5.2.1.md b/release-notes/v5.2.1.md
new file mode 100644
index 0000000..cbc76d7
--- /dev/null
+++ b/release-notes/v5.2.1.md
@@ -0,0 +1,13 @@
+# ClearPDF V5.2.1 — Liquid Glass in What's New (2.2.1)
+
+This maintenance release adds Liquid Glass customization to the What's New screen. The V5.2 screen had missed a feature that was already available in Settings → Liquid Glass.
+
+## What's new
+
+- **Customize Liquid Glass:** tune blur, refraction, tint, and more, or choose a preset. The customization controls were contributed in [PR #61](https://github.com/Chethan616/ClearPDF/pull/61).
+
+## Download
+
+Choose the APK that matches your device. The arm64-v8a APK is recommended for most current Android phones and tablets; the universal APK works across supported ABIs and is larger.
+
+ClearPDF processes documents on your device. See [PRIVACY.md](https://github.com/Chethan616/ClearPDF/blob/main/PRIVACY.md) for network details.
diff --git a/release-notes/v5.2.md b/release-notes/v5.2.md
index cb25057..5e4a2f6 100644
--- a/release-notes/v5.2.md
+++ b/release-notes/v5.2.md
@@ -1,9 +1,10 @@
-# ClearPDF V5.2 — PDF encryption, book mode, and reliability (2.2.0)
+# ClearPDF V5.2 — PDF encryption, book mode, Liquid Glass, and reliability (2.2.0)
ClearPDF V5.2 adds stronger PDF protection and more ways to read and save documents. This release also fixes several issues reported by users of V5.1.
## What's new
+- **Customize Liquid Glass:** tune blur, refraction, tint, and more, or choose a preset in **Settings → Liquid Glass**. ([PR #61](https://github.com/Chethan616/ClearPDF/pull/61))
- **AES-256 PDF encryption:** protect a PDF with AES-256 and set an owner password separately from the password used to open it.
- **Book mode and trimmed margins:** read one page at a time, or trim wide page margins. Both options are in **Settings → Appearance**.
- **Save a copy:** save a PDF opened from another app to a folder you choose, even when you have not edited it.