compose: details: Drop open in playstore option

We are the playstore replacement and share option works better when it comes to
conflicting with app links

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-12-01 21:10:41 +08:00
parent 938bb23a78
commit 255af297a9
3 changed files with 0 additions and 6 deletions

View File

@@ -265,7 +265,6 @@ private fun ScreenContentApp(
}
MenuItem.SHARE -> context.share(app.displayName, app.packageName)
MenuItem.APP_INFO -> context.appInfo(app.packageName)
MenuItem.PLAY_STORE -> context.browse("$SHARE_URL${app.packageName}")
MenuItem.ADD_TO_HOME -> {
ShortcutManagerUtil.requestPinShortcut(context, app.packageName)
}

View File

@@ -81,10 +81,6 @@ fun AppDetailsMenu(
onClick = { onClick(MenuItem.MANUAL_DOWNLOAD) },
enabled = !state.inProgress()
)
DropdownMenuItem(
text = { Text(text = stringResource(R.string.title_download_playstore)) },
onClick = { onClick(MenuItem.PLAY_STORE) }
)
// Inflate actions available only when app is installed below
if (!isInstalled) return@DropdownMenu

View File

@@ -13,6 +13,5 @@ enum class MenuItem {
SHARE,
MANUAL_DOWNLOAD,
APP_INFO,
PLAY_STORE,
ADD_TO_HOME
}