fixup! libs: Bump gplyapi to 3.5.0

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-05-19 19:51:29 +08:00
parent e9f6bb42e9
commit 38f96eacbc
3 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ class AppPreviewProvider : PreviewParameterProvider<App> {
packageName = BuildConfig.APPLICATION_ID,
displayName = "Aurora Store",
developerName = "Rahul Kumar Patel",
versionCode = BuildConfig.VERSION_CODE,
versionCode = BuildConfig.VERSION_CODE.toLong(),
versionName = BuildConfig.VERSION_NAME,
shortDescription = "An unofficial FOSS client to Google Play with an elegant design and privacy",
changes = CHANGELOG,

View File

@@ -127,9 +127,9 @@ fun AppDetailsScreen(
if (shouldShowManualDownloadDialog) {
ManualDownloadDialog(
currentVersionCode = app!!.versionCode.toLong(),
currentVersionCode = app!!.versionCode,
onConfirm = { versionCode ->
viewModel.purchase(app!!.copy(versionCode = versionCode.toInt()))
viewModel.purchase(app!!.copy(versionCode = versionCode))
},
onDismiss = { shouldShowManualDownloadDialog = false }
)

View File

@@ -98,5 +98,5 @@ fun ManualDownloadDialog(
@Preview
@Composable
private fun ManualDownloadDialogPreview(@PreviewParameter(AppPreviewProvider::class) app: App) {
ManualDownloadDialog(currentVersionCode = app.versionCode.toLong())
ManualDownloadDialog(currentVersionCode = app.versionCode)
}