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.

Version 2.1.0: What's New sheet and tutorials for the new features

chethan61643dec7a656ac
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 7f66813..05985c0 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -38,8 +38,8 @@ android {
applicationId = "com.chethan616.clearpdf"
minSdk = 23
targetSdk = 36
- versionCode = 4
- versionName = "2.0.0"
+ versionCode = 5
+ versionName = "2.1.0"
// 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/data/repository/OnboardingManager.kt b/app/src/main/java/com/chethan616/clearpdf/data/repository/OnboardingManager.kt
index b29b2b1..13adfc6 100644
--- a/app/src/main/java/com/chethan616/clearpdf/data/repository/OnboardingManager.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/data/repository/OnboardingManager.kt
@@ -16,6 +16,13 @@ object OnboardingManager {
private const val KEY_ONBOARDED_VERSION = "onboarded_version_code"
private const val KEY_PDF_READER_TOUR_SEEN = "pdf_reader_tour_seen"
private const val KEY_SPREADSHEET_READER_TOUR_SEEN = "spreadsheet_reader_tour_seen"
+ // The versionCode whose "What's new" sheet the user has seen. Missing = the version they
+ // onboarded on, so people who just did the full tour aren't shown it again.
+ private const val KEY_WHATS_NEW_VERSION = "whats_new_seen_version"
+ // First-use tutorials for features added in 2.1 (shown to new AND updating users, once).
+ private const val KEY_EDIT_TEXT_TOUR_SEEN = "edit_text_tour_seen"
+ private const val KEY_RECENTS_MENU_TOUR_SEEN = "recents_menu_tour_seen"
+ private const val KEY_GLASS_SETTINGS_TOUR_SEEN = "glass_settings_tour_seen"
private fun prefs(context: Context): SharedPreferences =
context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE)
@@ -45,8 +52,34 @@ object OnboardingManager {
prefs(context).edit()
.putBoolean(KEY_COMPLETED, true)
.putInt(KEY_ONBOARDED_VERSION, currentVersionCode(context))
+ // Someone who just took the full tour is already up to date.
+ .putInt(KEY_WHATS_NEW_VERSION, currentVersionCode(context))
.apply()
+ /**
+ * True once after an update: the user finished onboarding on an older build (or before
+ * versions were recorded) and hasn't seen this build's "What's new" sheet yet.
+ */
+ fun shouldShowWhatsNew(context: Context): Boolean {
+ if (!hasCompletedOnboarding(context)) return false
+ val current = currentVersionCode(context)
+ if (current <= 0) return false
+ val seen = prefs(context).getInt(KEY_WHATS_NEW_VERSION, onboardedVersionCode(context))
+ return seen < current
+ }
+
+ fun markWhatsNewSeen(context: Context) =
+ prefs(context).edit().putInt(KEY_WHATS_NEW_VERSION, currentVersionCode(context)).apply()
+
+ fun hasSeenEditTextTour(context: Context): Boolean = prefs(context).getBoolean(KEY_EDIT_TEXT_TOUR_SEEN, false)
+ fun markEditTextTourSeen(context: Context) = prefs(context).edit().putBoolean(KEY_EDIT_TEXT_TOUR_SEEN, true).apply()
+
+ fun hasSeenRecentsMenuTour(context: Context): Boolean = prefs(context).getBoolean(KEY_RECENTS_MENU_TOUR_SEEN, false)
+ fun markRecentsMenuTourSeen(context: Context) = prefs(context).edit().putBoolean(KEY_RECENTS_MENU_TOUR_SEEN, true).apply()
+
+ fun hasSeenGlassSettingsTour(context: Context): Boolean = prefs(context).getBoolean(KEY_GLASS_SETTINGS_TOUR_SEEN, false)
+ fun markGlassSettingsTourSeen(context: Context) = prefs(context).edit().putBoolean(KEY_GLASS_SETTINGS_TOUR_SEEN, true).apply()
+
fun resetOnboarding(context: Context) =
prefs(context).edit()
.putBoolean(KEY_COMPLETED, false)
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/DocsApp.kt b/app/src/main/java/com/chethan616/clearpdf/ui/DocsApp.kt
index 5e9daea..68d5cc8 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/DocsApp.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/DocsApp.kt
@@ -136,7 +136,18 @@ fun DocsApp(shortcutRoute: String? = null, incomingPdfUri: android.net.Uri? = nu
else -> systemDark
}
+ // Once per update: what changed since the version this user last saw. Never alongside the
+ // first-run tour (that already covers everything), and it takes the star prompt's turn.
+ var showWhatsNew by rememberSaveable {
+ mutableStateOf(!needsOnboarding && OnboardingManager.shouldShowWhatsNew(context))
+ }
+ androidx.compose.runtime.SideEffect { com.chethan616.clearpdf.ui.components.WhatsNewGate.showing = showWhatsNew }
+ val appVersionName = remember(context) {
+ runCatching { context.packageManager.getPackageInfo(context.packageName, 0).versionName }.getOrNull().orEmpty()
+ }
+
LaunchedEffect(context) {
+ if (showWhatsNew) return@LaunchedEffect
showStarPrompt = GitHubStarPromptManager.shouldShowPrompt(context)
StarPromptEventBus.promptRequests.collectLatest {
if (GitHubStarPromptManager.shouldShowPrompt(context)) {
@@ -485,6 +496,16 @@ fun DocsApp(shortcutRoute: String? = null, incomingPdfUri: android.net.Uri? = nu
}
}
+ com.chethan616.clearpdf.ui.components.WhatsNewSheet(
+ visible = showWhatsNew,
+ versionName = appVersionName,
+ backdrop = contentBackdrop,
+ onDismiss = {
+ OnboardingManager.markWhatsNewSeen(context)
+ showWhatsNew = false
+ }
+ )
+
// Last child: above the tab bar and dialogs, outside the layer it samples.
GlassOverlayLayer(overlayHost, contentBackdrop)
}
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/components/WhatsNewSheet.kt b/app/src/main/java/com/chethan616/clearpdf/ui/components/WhatsNewSheet.kt
new file mode 100644
index 0000000..12e8599
--- /dev/null
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/components/WhatsNewSheet.kt
@@ -0,0 +1,121 @@
+package com.chethan616.clearpdf.ui.components
+
+import androidx.compose.animation.core.Animatable
+import androidx.compose.foundation.layout.Arrangement
+import androidx.compose.foundation.layout.Column
+import androidx.compose.foundation.layout.Row
+import androidx.compose.foundation.layout.Spacer
+import androidx.compose.foundation.layout.fillMaxWidth
+import androidx.compose.foundation.layout.height
+import androidx.compose.foundation.layout.heightIn
+import androidx.compose.foundation.rememberScrollState
+import androidx.compose.foundation.text.BasicText
+import androidx.compose.foundation.verticalScroll
+import androidx.compose.material.icons.Icons
+import androidx.compose.material.icons.rounded.AutoAwesome
+import androidx.compose.material.icons.rounded.BugReport
+import androidx.compose.material.icons.rounded.EditNote
+import androidx.compose.material.icons.rounded.IosShare
+import androidx.compose.material.icons.rounded.TableChart
+import androidx.compose.material.icons.rounded.Vibration
+import androidx.compose.runtime.Composable
+import androidx.compose.runtime.LaunchedEffect
+import androidx.compose.runtime.getValue
+import androidx.compose.runtime.mutableStateOf
+import androidx.compose.runtime.remember
+import androidx.compose.runtime.setValue
+import androidx.compose.ui.Alignment
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.graphics.graphicsLayer
+import androidx.compose.ui.graphics.vector.ImageVector
+import androidx.compose.ui.platform.LocalDensity
+import androidx.compose.ui.res.stringResource
+import androidx.compose.ui.text.TextStyle
+import androidx.compose.ui.text.font.FontWeight
+import androidx.compose.ui.unit.dp
+import androidx.compose.ui.unit.sp
+import com.chethan616.clearpdf.R
+import com.chethan616.clearpdf.ui.theme.LiquidGlassColors
+import com.chethan616.clearpdf.ui.theme.LocalIsDarkMode
+import com.kyant.backdrop.Backdrop
+import kotlinx.coroutines.delay
+
+/** Whether the What's New sheet is up — first-use tutorials wait until it has been dismissed. */
+object WhatsNewGate {
+ var showing by mutableStateOf(false)
+}
+
+private class WhatsNewItem(val icon: ImageVector, val accent: Color, val title: Int, val desc: Int)
+
+private val WhatsNewItems = listOf(
+ WhatsNewItem(Icons.Rounded.EditNote, LiquidGlassColors.Blue, R.string.whats_new_edit_title, R.string.whats_new_edit_desc),
+ WhatsNewItem(Icons.Rounded.AutoAwesome, LiquidGlassColors.Teal, R.string.whats_new_glass_title, R.string.whats_new_glass_desc),
+ WhatsNewItem(Icons.Rounded.IosShare, LiquidGlassColors.Green, R.string.whats_new_share_title, R.string.whats_new_share_desc),
+ WhatsNewItem(Icons.Rounded.Vibration, LiquidGlassColors.Purple, R.string.whats_new_feel_title, R.string.whats_new_feel_desc),
+ WhatsNewItem(Icons.Rounded.TableChart, LiquidGlassColors.Orange, R.string.whats_new_sheets_title, R.string.whats_new_sheets_desc),
+ WhatsNewItem(Icons.Rounded.BugReport, LiquidGlassColors.Red, R.string.whats_new_fixes_title, R.string.whats_new_fixes_desc)
+)
+
+/**
+ * The once-per-update "What's new" sheet, on the app's glass dialog: a springy entrance, then the
+ * feature rows land one after another (~45 ms apart, a soft overshoot each).
+ */
+@Composable
+fun WhatsNewSheet(
+ visible: Boolean,
+ versionName: String,
+ backdrop: Backdrop,
+ onDismiss: () -> Unit
+) {
+ val isDark = LocalIsDarkMode.current
+ val ink = LiquidGlassColors.text(isDark)
+ val sub = LiquidGlassColors.secondary(isDark)
+ GlassDialog(
+ visible = visible,
+ onDismiss = onDismiss,
+ backdrop = backdrop,
+ title = stringResource(R.string.whats_new_title, versionName),
+ actions = {
+ GlassDialogAction(stringResource(R.string.whats_new_continue), onDismiss, primary = true)
+ }
+ ) {
+ BasicText(stringResource(R.string.whats_new_subtitle), style = TextStyle(sub, 13.sp))
+ Spacer(Modifier.height(14.dp))
+ Column(
+ Modifier.fillMaxWidth().heightIn(max = 420.dp).verticalScroll(rememberScrollState()),
+ verticalArrangement = Arrangement.spacedBy(14.dp)
+ ) {
+ WhatsNewItems.forEachIndexed { i, item -> WhatsNewRow(item, i, ink, sub) }
+ }
+ }
+}
+
+@Composable
+private fun WhatsNewRow(item: WhatsNewItem, index: Int, ink: Color, sub: Color) {
+ val enter = remember { Animatable(0f) }
+ LaunchedEffect(Unit) {
+ delay(180L + 45L * index)
+ enter.animateTo(1f, GlassMotion.pop())
+ }
+ val lift = with(LocalDensity.current) { 12.dp.toPx() }
+ Row(
+ Modifier
+ .fillMaxWidth()
+ .graphicsLayer {
+ val e = enter.value
+ alpha = e.coerceIn(0f, 1f)
+ translationY = (1f - e) * lift
+ val s = 0.92f + 0.08f * e
+ scaleX = s; scaleY = s
+ },
+ verticalAlignment = Alignment.CenterVertically,
+ horizontalArrangement = Arrangement.spacedBy(12.dp)
+ ) {
+ AccentIconTile(item.icon, item.accent, size = 38, iconSize = 20)
+ Column(Modifier.weight(1f), verticalArrangement = Arrangement.spacedBy(2.dp)) {
+ BasicText(stringResource(item.title), style = TextStyle(ink, 15.sp, FontWeight.SemiBold))
+ BasicText(stringResource(item.desc), style = TextStyle(sub, 12.5.sp, lineHeight = 16.sp))
+ }
+ }
+}
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt
index 101a642..a838528 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt
@@ -54,6 +54,7 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.padding
+import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.shape.RoundedCornerShape
@@ -572,6 +573,30 @@ fun HomeScreen(
)
}
+ // ── First-use tutorial (new in 2.1): long-press a recent for quick actions ──
+ var showRecentsTour by remember { mutableStateOf(!com.chethan616.clearpdf.data.repository.OnboardingManager.hasSeenRecentsMenuTour(context)) }
+ fun finishRecentsTour() {
+ showRecentsTour = false
+ com.chethan616.clearpdf.data.repository.OnboardingManager.markRecentsMenuTourSeen(context)
+ }
+ // Using the gesture counts as having learned it.
+ LaunchedEffect(selectedRecent) { if (selectedRecent != null && showRecentsTour) finishRecentsTour() }
+ com.chethan616.clearpdf.ui.components.GlassGuideCallout(
+ visible = showRecentsTour && recentFilesEnabled && recents.isNotEmpty() && !searchActive &&
+ selectedRecent == null && !com.chethan616.clearpdf.ui.components.WhatsNewGate.showing,
+ title = stringResource(R.string.tour_recents_menu_title),
+ message = stringResource(R.string.tour_recents_menu_message),
+ backdrop = backdrop,
+ isLastStep = true,
+ pointsUp = true,
+ onNext = ::finishRecentsTour,
+ onSkip = ::finishRecentsTour,
+ modifier = Modifier
+ .align(Alignment.BottomCenter)
+ .navigationBarsPadding()
+ .padding(start = 16.dp, end = 16.dp, bottom = 104.dp)
+ )
+
// ── Category filter menu ──
RecentsFilterMenu(
open = filterMenuOpen,
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerBottomToolbar.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerBottomToolbar.kt
index 89e7a4e..d49bb71 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerBottomToolbar.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerBottomToolbar.kt
@@ -759,7 +759,7 @@ internal fun PdfViewerBottomToolbar(
backdrop = backdrop,
modifier = Modifier.size(52.dp),
tint = if (editorOpen) accent else Color.Unspecified,
- surfaceColor = if (!editorOpen && readerTourStep == 0) LiquidGlassColors.Blue.copy(alpha = 0.22f) else Color.Unspecified
+ surfaceColor = if (!editorOpen && (readerTourStep == 0 || readerTourStep == 2)) LiquidGlassColors.Blue.copy(alpha = 0.22f) else Color.Unspecified
) {
Icon(Icons.Rounded.Edit, stringResource(R.string.viewer_editor_tools), Modifier.size(21.dp), if (editorOpen) Color.White else fg)
}
@@ -836,12 +836,23 @@ internal fun PdfViewerBottomToolbar(
title = stringResource(R.string.tour_reader_share_title),
message = stringResource(R.string.tour_reader_share_message),
backdrop = backdrop,
- isLastStep = true,
+ isLastStep = false,
arrowAtEnd = true,
onNext = onReaderTourNext,
onSkip = onReaderTourDismiss,
modifier = Modifier.align(Alignment.BottomEnd).padding(end = 12.dp, bottom = 116.dp).zIndex(5f)
)
+ // New in 2.1: editing the document's own text, pointed at the same edit button.
+ GlassGuideCallout(
+ visible = readerTourStep == 2,
+ title = stringResource(R.string.tour_edit_text_title),
+ message = stringResource(R.string.tour_edit_text_message),
+ backdrop = backdrop,
+ isLastStep = true,
+ onNext = onReaderTourNext,
+ onSkip = onReaderTourDismiss,
+ modifier = Modifier.align(Alignment.BottomStart).padding(start = 12.dp, bottom = 116.dp).zIndex(5f)
+ )
}
}
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerScreen.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerScreen.kt
index 45d82f3..27d7e7b 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerScreen.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/PdfViewerScreen.kt
@@ -262,9 +262,14 @@ fun PdfViewerScreen(
val density = LocalDensity.current
LaunchedEffect(state.document?.uri) {
- if (state.document != null && !OnboardingManager.hasSeenPdfReaderTour(context)) {
+ if (state.document == null) return@LaunchedEffect
+ // New users get the whole reader tour (tools, share, then editing text); people updating
+ // from a version that already showed them the first two get just the new step.
+ val needsReader = !OnboardingManager.hasSeenPdfReaderTour(context)
+ val needsEditText = !OnboardingManager.hasSeenEditTextTour(context)
+ if (needsReader || needsEditText) {
delay(650)
- readerTourStep = 0
+ readerTourStep = if (needsReader) 0 else 2
controlsPinned = true
}
}
@@ -273,6 +278,7 @@ fun PdfViewerScreen(
readerTourStep = -1
controlsPinned = false
OnboardingManager.markPdfReaderTourSeen(context)
+ OnboardingManager.markEditTextTourSeen(context)
}
// ── Zoom / pan state ───────────────────────────────────────────────────
@@ -1516,7 +1522,7 @@ fun PdfViewerScreen(
PdfViewerBottomToolbar(
readerTourStep = readerTourStep,
- onReaderTourNext = { if (readerTourStep == 0) readerTourStep = 1 else finishReaderTour() },
+ onReaderTourNext = { if (readerTourStep < 2) readerTourStep += 1 else finishReaderTour() },
onReaderTourDismiss = ::finishReaderTour,
activeTool = activeTool,
drawingToolActive = drawingToolActive,
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/SettingsScreen.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/SettingsScreen.kt
index 723e5c5..8e93e48 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/SettingsScreen.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/SettingsScreen.kt
@@ -198,6 +198,17 @@ fun SettingsScreen(
// iOS-style: the root is a short index of rows; each topic opens on its own page. The root only
// ever composes three small glass panels, which is what keeps this tab switch light.
var page by rememberSaveable { mutableIntStateOf(PageIndex) }
+ // First-use tutorial (new in 2.1): point at the Liquid Glass page once.
+ var showGlassTour by remember { mutableStateOf(!com.chethan616.clearpdf.data.repository.OnboardingManager.hasSeenGlassSettingsTour(context)) }
+ fun finishGlassTour() {
+ showGlassTour = false
+ com.chethan616.clearpdf.data.repository.OnboardingManager.markGlassSettingsTourSeen(context)
+ }
+ // The real installed version (the old hard-coded string still said 1.1.0).
+ val versionName = remember(context) {
+ runCatching { context.packageManager.getPackageInfo(context.packageName, 0).versionName }.getOrNull().orEmpty()
+ }
+ val versionLabel = stringResource(R.string.settings_version_label) + " " + versionName
// A sub-page is a focused task: the app's tab bar steps away while it is open.
androidx.compose.runtime.SideEffect { SettingsSubPage.open = page != PageIndex }
androidx.compose.runtime.DisposableEffect(Unit) { onDispose { SettingsSubPage.open = false } }
@@ -258,19 +269,30 @@ fun SettingsScreen(
SettingsSection(backdrop, uiSensor, entrance.sectionFade(1), padding = 8.dp, gap = 0.dp) {
SettingsNavRow(Icons.Rounded.Tune, LiquidGlassColors.Orange, stringResource(R.string.settings_appearance), themeLabel, ink, sub) { page = PageAppearance }
SettingsDivider(isLight)
- SettingsNavRow(Icons.Rounded.AutoAwesome, LiquidGlassColors.Teal, stringResource(R.string.settings_glass), null, ink, sub) { page = PageGlass }
+ SettingsNavRow(Icons.Rounded.AutoAwesome, LiquidGlassColors.Teal, stringResource(R.string.settings_glass), null, ink, sub) { if (showGlassTour) finishGlassTour(); page = PageGlass }
SettingsDivider(isLight)
SettingsNavRow(Icons.Rounded.Language, LiquidGlassColors.Blue, stringResource(R.string.settings_language), langLabel, ink, sub) { page = PageLanguage }
SettingsDivider(isLight)
SettingsNavRow(Icons.Rounded.Wallpaper, LiquidGlassColors.Indigo, stringResource(R.string.settings_personalization), null, ink, sub) { page = PagePersonal }
}
+ com.chethan616.clearpdf.ui.components.GlassGuideCallout(
+ visible = showGlassTour && !com.chethan616.clearpdf.ui.components.WhatsNewGate.showing,
+ title = stringResource(R.string.tour_glass_title),
+ message = stringResource(R.string.tour_glass_message),
+ backdrop = backdrop,
+ isLastStep = true,
+ pointsUp = true,
+ onNext = ::finishGlassTour,
+ onSkip = ::finishGlassTour,
+ modifier = Modifier.fillMaxWidth()
+ )
SettingsSection(backdrop, uiSensor, entrance.sectionFade(2), padding = 8.dp, gap = 0.dp) {
SettingsNavRow(Icons.Rounded.FolderOpen, LiquidGlassColors.Teal, stringResource(R.string.settings_file_handling), null, ink, sub) { page = PageFiles }
SettingsDivider(isLight)
SettingsNavRow(Icons.Rounded.Description, LiquidGlassColors.Green, stringResource(R.string.office_engine_title), null, ink, sub) { page = PageOffice }
}
SettingsSection(backdrop, uiSensor, entrance.sectionFade(3), padding = 8.dp, gap = 0.dp) {
- SettingsNavRow(Icons.Rounded.Info, LiquidGlassColors.Blue, stringResource(R.string.settings_about), stringResource(R.string.settings_version), ink, sub) { page = PageAbout }
+ SettingsNavRow(Icons.Rounded.Info, LiquidGlassColors.Blue, stringResource(R.string.settings_about), versionLabel, ink, sub) { page = PageAbout }
SettingsDivider(isLight)
SettingsNavRow(Icons.Rounded.Code, LiquidGlassColors.Purple, stringResource(R.string.settings_licenses), null, ink, sub) { page = PageLicenses }
}
@@ -497,7 +519,7 @@ fun SettingsScreen(
if (p == PageAbout) SettingsSection(backdrop, uiSensor, Modifier, padding = 24.dp, horizontalAlignment = Alignment.CenterHorizontally) {
AccentIconTile(Icons.Rounded.Info, LiquidGlassColors.Blue, size = 56, iconSize = 28)
BasicText("ClearPDF", style = TextStyle(ink, 20.sp, FontWeight.Bold))
- BasicText(stringResource(R.string.settings_version), style = TextStyle(sub, 13.sp))
+ BasicText(versionLabel, style = TextStyle(sub, 13.sp))
BasicText(stringResource(R.string.settings_made_by), style = TextStyle(sub, 13.sp, textAlign = TextAlign.Center))
Spacer(Modifier.height(4.dp))
ToolPrimaryButton(
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a291e4d..6b181dc 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -774,4 +774,25 @@
<string name="glass_reset">Reset to default</string>
<string name="settings_haptics">Haptic feedback</string>
<string name="settings_haptics_desc">A light tick when you tap buttons and pick options</string>
+ <string name="whats_new_title">What\'s new in %1$s</string>
+ <string name="whats_new_subtitle">Here\'s what changed since your last version.</string>
+ <string name="whats_new_edit_title">Edit PDF text</string>
+ <string name="whats_new_edit_desc">Rewrite any line in its own font. Tap it with the Text tool, or long-press a word.</string>
+ <string name="whats_new_glass_title">Liquid Glass settings</string>
+ <string name="whats_new_glass_desc">Tune blur, refraction and tint, or pick a preset.</string>
+ <string name="whats_new_share_title">Share in more formats</string>
+ <string name="whats_new_share_desc">PDF, page images or text, with your edits included.</string>
+ <string name="whats_new_feel_title">Smoother everywhere</string>
+ <string name="whats_new_feel_desc">Cleaner glass, springier motion, and haptics you can switch off.</string>
+ <string name="whats_new_sheets_title">Hindi and Indic spreadsheets</string>
+ <string name="whats_new_sheets_desc">Every script displays, edits and saves correctly.</string>
+ <string name="whats_new_fixes_title">Fixes</string>
+ <string name="whats_new_fixes_desc">Images open reliably, and resized text stays where you put it.</string>
+ <string name="whats_new_continue">Continue</string>
+ <string name="tour_edit_text_title">Edit the PDF\'s own text</string>
+ <string name="tour_edit_text_message">Tap the edit icon and pick Text, then tap any line to rewrite it in its own font. Or long-press a word and tap Edit text.</string>
+ <string name="tour_recents_menu_title">Quick actions</string>
+ <string name="tour_recents_menu_message">Press and hold a file to open, share, pin it and more.</string>
+ <string name="tour_glass_title">Make the glass yours</string>
+ <string name="tour_glass_message">Tune blur, refraction and tint, or pick a preset, in Liquid Glass.</string>
</resources>