-
Notifications
You must be signed in to change notification settings - Fork 37
fix(catalog/ios): hide "Showing X of Y items" label when search overlay is active #1894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
7aaeb42
e0f6e54
c82f9b6
405c7e7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,14 +197,16 @@ function CatalogItemsScreen() { | |
| </View> | ||
| } | ||
| ListHeaderComponent={ | ||
| <View className="mb-4"> | ||
| <View className="flex-row items-center justify-between"> | ||
| <Text className="text-muted-foreground">{totalItemsText}</Text> | ||
| searchValue.length === 0 ? ( | ||
| <View className="mb-4"> | ||
| <View className="flex-row items-center justify-between"> | ||
| <Text className="text-muted-foreground">{totalItemsText}</Text> | ||
| </View> | ||
| {paginatedItems.length > 0 && ( | ||
| <Text className="mt-1 text-xs text-muted-foreground">{showingText}</Text> | ||
| )} | ||
| </View> | ||
| {paginatedItems.length > 0 && ( | ||
| <Text className="mt-1 text-xs text-muted-foreground">{showingText}</Text> | ||
| )} | ||
| </View> | ||
| ) : null | ||
|
Comment on lines
199
to
+209
|
||
| } | ||
| ListEmptyComponent={ | ||
| <View className="flex-1 items-center justify-center p-8"> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.