diff --git a/app/mobile/src/context/useChannelContext.hook.js b/app/mobile/src/context/useChannelContext.hook.js index 66d484d0..77412f52 100644 --- a/app/mobile/src/context/useChannelContext.hook.js +++ b/app/mobile/src/context/useChannelContext.hook.js @@ -31,7 +31,7 @@ export function useChannelContext() { update.summary = channel?.data?.channelSummary; update.detailRevision = channel?.data?.detailRevision; update.topicRevision = channel?.data?.topicRevision; - channels.current.set(channelId, channel); + channels.current.set(channelId, update); } const setChannelDetails = (channelId, detail, revision) => { let channel = channels.current.get(channelId); diff --git a/app/mobile/src/context/useStoreContext.hook.js b/app/mobile/src/context/useStoreContext.hook.js index c605406a..56121205 100644 --- a/app/mobile/src/context/useStoreContext.hook.js +++ b/app/mobile/src/context/useStoreContext.hook.js @@ -1,7 +1,7 @@ import { useEffect, useState, useRef, useContext } from 'react'; import SQLite from "react-native-sqlite-storage"; -const DATABAG_DB = 'databag_v027.db'; +const DATABAG_DB = 'databag_v033.db'; export function useStoreContext() { const [state, setState] = useState({});