From 6fd9e52333b8b23bc4218c6b9425885259362141 Mon Sep 17 00:00:00 2001 From: siepra Date: Tue, 7 Nov 2023 15:25:13 +0100 Subject: [PATCH] feat: attach notifier screen #1980 --- .../src/screens/ChannelList/ChannelList.screen.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx b/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx index 81c0043f50..5a558bcdb0 100644 --- a/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx +++ b/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx @@ -1,4 +1,4 @@ -import React, { FC, useCallback } from 'react' +import React, { FC, useCallback, useEffect } from 'react' import { useDispatch, useSelector } from 'react-redux' import { communities, publicChannels } from '@quiet/state-manager' @@ -18,6 +18,16 @@ import { initSelectors } from '../../store/init/init.selectors' export const ChannelListScreen: FC = () => { const dispatch = useDispatch() + /* + * Notify user about incoming lack of backwards compatiblity. + * This should be removed in the next major release of the application (2.x) + * + * https://github.com/TryQuiet/quiet/issues/1980 + */ + useEffect(() => { + dispatch(navigationActions.navigation({ screen: ScreenNames.NotifierScreen })) + }, []) + const redirect = useCallback( (id: string) => { dispatch(