mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: Not used block items taking padding space
This commit is contained in:
parent
7db67fb09c
commit
79ea6960c9
@ -556,9 +556,9 @@ class AppSheetX() : FullscreenBottomSheetDialogFragment(), Callbacks {
|
||||
// TODO add markdown parsing
|
||||
if (product.description.isNotEmpty()) HtmlTextBlock(description = product.description)
|
||||
}
|
||||
item {
|
||||
val links = product.generateLinks(requireContext())
|
||||
if (links.isNotEmpty()) {
|
||||
val links = product.generateLinks(requireContext())
|
||||
if (links.isNotEmpty()) {
|
||||
item {
|
||||
ExpandableBlock(
|
||||
heading = stringResource(id = R.string.links),
|
||||
positive = true,
|
||||
@ -579,8 +579,8 @@ class AppSheetX() : FullscreenBottomSheetDialogFragment(), Callbacks {
|
||||
}
|
||||
}
|
||||
}
|
||||
item {
|
||||
if (product.donates.isNotEmpty()) {
|
||||
if (product.donates.isNotEmpty()) {
|
||||
item {
|
||||
ExpandableBlock(
|
||||
heading = stringResource(id = R.string.donate),
|
||||
positive = true,
|
||||
@ -629,8 +629,8 @@ class AppSheetX() : FullscreenBottomSheetDialogFragment(), Callbacks {
|
||||
}
|
||||
}
|
||||
}
|
||||
item {
|
||||
if (product.antiFeatures.isNotEmpty()) {
|
||||
if (product.antiFeatures.isNotEmpty()) {
|
||||
item {
|
||||
ExpandableBlock(
|
||||
heading = stringResource(id = R.string.anti_features),
|
||||
positive = false,
|
||||
@ -649,8 +649,8 @@ class AppSheetX() : FullscreenBottomSheetDialogFragment(), Callbacks {
|
||||
}
|
||||
}
|
||||
}
|
||||
item {
|
||||
if (product.whatsNew.isNotEmpty()) {
|
||||
if (product.whatsNew.isNotEmpty()) {
|
||||
item {
|
||||
ExpandableBlock(
|
||||
heading = stringResource(id = R.string.changes),
|
||||
positive = true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user