mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 11:21:41 +03:00
commit
e65368bcae
@ -196,7 +196,7 @@ class NotificationView extends PureComponent {
|
||||
_notifications && _notifications.length > 0 ? (
|
||||
<SectionList
|
||||
sections={_notifications}
|
||||
keyExtractor={(item, index) => item.title + index}
|
||||
keyExtractor={(item, index) => `${item.id}-${index}`}
|
||||
onEndReached={() => getActivities(selectedFilter, true)}
|
||||
ListFooterComponent={this._renderFooterLoading}
|
||||
ListEmptyComponent={<ListPlaceHolder />}
|
||||
|
@ -314,7 +314,7 @@ export const getLastUpdateCheck = async (lastUpdateCheck) => {
|
||||
try {
|
||||
const setting = await getItemFromStorage(SETTINGS_SCHEMA);
|
||||
if (setting) {
|
||||
return setting.lastUpdateCheck - 48 * 3600 * 1000;
|
||||
return setting.lastUpdateCheck;
|
||||
}
|
||||
return false;
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user