@umituz/react-native-ai-generation-content 1.12.39 → 1.12.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
declare const __DEV__: boolean;
|
|
2
|
+
|
|
1
3
|
import React, { useMemo, useCallback, useState } from "react";
|
|
2
4
|
import { View, StyleSheet, type LayoutChangeEvent } from "react-native";
|
|
3
5
|
import {
|
|
@@ -159,7 +161,17 @@ export function CreationsGalleryScreen({
|
|
|
159
161
|
countLabel={t(config.translations.photoCount) || 'photos'}
|
|
160
162
|
isFiltered={isFiltered}
|
|
161
163
|
filterLabel={t(config.translations.filterLabel) || 'Filter'}
|
|
162
|
-
onFilterPress={() =>
|
|
164
|
+
onFilterPress={() => {
|
|
165
|
+
if (__DEV__) {
|
|
166
|
+
// eslint-disable-next-line no-console
|
|
167
|
+
console.log('[CreationsGallery] Filter button pressed');
|
|
168
|
+
// eslint-disable-next-line no-console
|
|
169
|
+
console.log('[CreationsGallery] filterSheetRef.current:', filterSheetRef.current);
|
|
170
|
+
// eslint-disable-next-line no-console
|
|
171
|
+
console.log('[CreationsGallery] allCategories:', allCategories);
|
|
172
|
+
}
|
|
173
|
+
filterSheetRef.current?.present();
|
|
174
|
+
}}
|
|
163
175
|
style={{ paddingTop: insets.top + tokens.spacing.md }}
|
|
164
176
|
/>
|
|
165
177
|
)}
|