@umituz/react-native-settings 4.23.125 → 4.23.127
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-settings",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.127",
|
|
4
4
|
"description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -46,7 +46,7 @@ export const ReminderListScreen: React.FC<ReminderListScreenProps> = ({
|
|
|
46
46
|
await toggleReminderEnabled(id);
|
|
47
47
|
} catch (error) {
|
|
48
48
|
devError('[ReminderListScreen] Failed to toggle reminder:', error);
|
|
49
|
-
|
|
49
|
+
console.error('[ReminderList] Error:', error);
|
|
50
50
|
}
|
|
51
51
|
}, [toggleReminderEnabled]);
|
|
52
52
|
|
|
@@ -55,7 +55,7 @@ export const ReminderListScreen: React.FC<ReminderListScreenProps> = ({
|
|
|
55
55
|
await removeReminder(id);
|
|
56
56
|
} catch (error) {
|
|
57
57
|
devError('[ReminderListScreen] Failed to delete reminder:', error);
|
|
58
|
-
|
|
58
|
+
console.error('[ReminderList] Error:', error);
|
|
59
59
|
}
|
|
60
60
|
}, [removeReminder]);
|
|
61
61
|
|
|
@@ -25,9 +25,12 @@ export interface SettingsTranslations {
|
|
|
25
25
|
logoutConfirmMessage?: string;
|
|
26
26
|
deleteConfirmTitle?: string;
|
|
27
27
|
deleteConfirmMessage?: string;
|
|
28
|
+
deleteAccountTitle?: string;
|
|
29
|
+
deleteAccountMessage?: string;
|
|
28
30
|
deleteErrorTitle?: string;
|
|
29
31
|
deleteErrorMessage?: string;
|
|
30
32
|
cancel?: string;
|
|
33
|
+
delete?: string;
|
|
31
34
|
};
|
|
32
35
|
sections?: {
|
|
33
36
|
app?: string;
|
|
@@ -20,7 +20,7 @@ declare const __DEV__: boolean;
|
|
|
20
20
|
/**
|
|
21
21
|
* Hook that provides authentication-related handlers
|
|
22
22
|
*/
|
|
23
|
-
export const useAuthHandlers = (appInfo: AppInfo, translations?: SettingsTranslations["errors"]) => {
|
|
23
|
+
export const useAuthHandlers = (appInfo: AppInfo, translations?: SettingsTranslations["account"] & SettingsTranslations["errors"]) => {
|
|
24
24
|
const { signOut } = useAuth();
|
|
25
25
|
const { showAuthModal } = useAuthModalStore();
|
|
26
26
|
const { deleteAccount: deleteAccountFromAuth } = useAccountManagement({
|