ikualo-ui-kit-mobile 2.0.9 → 2.0.10
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/app.json +1 -1
- package/package.json +1 -1
- package/src/elements/dialogs/DialogDown.tsx +1 -13
package/app.json
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ class DialogManager {
|
|
|
15
15
|
private static instance: DialogManager;
|
|
16
16
|
private dialogs: DialogQueueItem[] = [];
|
|
17
17
|
private currentDialog: DialogQueueItem | null = null;
|
|
18
|
-
private listeners: Set<() => void> = new Set();
|
|
18
|
+
private readonly listeners: Set<() => void> = new Set();
|
|
19
19
|
|
|
20
20
|
static getInstance(): DialogManager {
|
|
21
21
|
if (!DialogManager.instance) {
|
|
@@ -184,18 +184,6 @@ export const DialogDown = (props: IDialogDown & { priority?: 0 | 1 | 2 | 3 | 4 |
|
|
|
184
184
|
// Solo renderizar si este diálogo es el actual
|
|
185
185
|
const isCurrentDialog = Boolean(currentDialog && currentDialog.id === dialogId);
|
|
186
186
|
|
|
187
|
-
// Debug logging
|
|
188
|
-
console.log('DialogDown Debug:', {
|
|
189
|
-
title,
|
|
190
|
-
dialogId,
|
|
191
|
-
currentDialogId: currentDialog?.id,
|
|
192
|
-
currentPriority: currentDialog?.priority,
|
|
193
|
-
newPriority: priority,
|
|
194
|
-
isCurrentDialog,
|
|
195
|
-
isVisible,
|
|
196
|
-
shouldShow: isCurrentDialog && isVisible,
|
|
197
|
-
});
|
|
198
|
-
|
|
199
187
|
return (
|
|
200
188
|
<Modal visible={isCurrentDialog} transparent={true} animationType="none" onRequestClose={handleDismiss}>
|
|
201
189
|
<TouchableWithoutFeedback onPress={handleDismissKeyboard}>
|