mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 03:12:15 +00:00
Fix: Crashing on empty products without source code link
This commit is contained in:
parent
1253121938
commit
044b1f659e
@ -426,7 +426,8 @@ class AppSheetX() : FullscreenBottomSheetDialogFragment(), Callbacks {
|
||||
versionCode = product.versionCode.toString(),
|
||||
appSize = product.displayRelease?.size?.formatSize().orEmpty(),
|
||||
repoHost = "@${
|
||||
URI(product.source).host.removePrefix("www.")
|
||||
(URI(product.source)?.host ?: stringResource(id = R.string.unknown))
|
||||
.removePrefix("www.")
|
||||
.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }
|
||||
}",
|
||||
mainAction = mainAction,
|
||||
|
Loading…
x
Reference in New Issue
Block a user