@umituz/react-native-notifications 1.3.13 → 1.3.15

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-notifications",
3
- "version": "1.3.13",
3
+ "version": "1.3.15",
4
4
  "description": "Offline-first local notifications system for React Native apps using expo-notifications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -5,7 +5,7 @@
5
5
 
6
6
  import React, { useEffect, useMemo, useCallback } from 'react';
7
7
  import { View, FlatList, StyleSheet, ActivityIndicator, TouchableOpacity } from 'react-native';
8
- import { AtomicText, AtomicIcon, ScreenLayout } from '@umituz/react-native-design-system';
8
+ import { AtomicText, AtomicIcon } from '@umituz/react-native-design-system';
9
9
  import { useAppDesignTokens } from '@umituz/react-native-design-system-theme';
10
10
  import { ReminderItem } from '../components/ReminderItem';
11
11
  import { useRemindersStore, useReminders, useRemindersLoading } from '../../infrastructure/storage/RemindersStore';
@@ -76,22 +76,20 @@ export const ReminderListScreen: React.FC<ReminderListScreenProps> = ({
76
76
 
77
77
  if (isLoading) {
78
78
  return (
79
- <ScreenLayout>
80
- <View style={styles.loadingContainer}>
81
- <ActivityIndicator size="large" color={tokens.colors.primary} />
82
- </View>
83
- </ScreenLayout>
79
+ <View style={[styles.loadingContainer, { backgroundColor: tokens.colors.surface }]}>
80
+ <ActivityIndicator size="large" color={tokens.colors.primary} />
81
+ </View>
84
82
  );
85
83
  }
86
84
 
87
85
  return (
88
- <ScreenLayout hideScrollIndicator>
86
+ <View style={{ flex: 1 }}>
89
87
  <FlatList
90
88
  data={reminders}
91
89
  renderItem={renderItem}
92
90
  keyExtractor={keyExtractor}
93
91
  ListEmptyComponent={renderEmpty}
94
- contentContainerStyle={styles.listContent}
92
+ contentContainerStyle={[styles.listContent, { backgroundColor: tokens.colors.surface }]}
95
93
  showsVerticalScrollIndicator={false}
96
94
  />
97
95
 
@@ -101,7 +99,7 @@ export const ReminderListScreen: React.FC<ReminderListScreenProps> = ({
101
99
  <AtomicText type="bodyMedium" style={styles.fabText}>{translations.addButtonLabel}</AtomicText>
102
100
  </TouchableOpacity>
103
101
  )}
104
- </ScreenLayout>
102
+ </View>
105
103
  );
106
104
  };
107
105