From 82b306b95a0db380413581e7910af1032f60c77e Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Thu, 22 Jul 2021 11:24:24 -0400 Subject: [PATCH] Minor tweak --- app/views/DiscussionMessagesView.js | 3 --- app/views/RoomView/index.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/DiscussionMessagesView.js b/app/views/DiscussionMessagesView.js index 7b678922e..87a6755f2 100644 --- a/app/views/DiscussionMessagesView.js +++ b/app/views/DiscussionMessagesView.js @@ -26,13 +26,10 @@ import { sanitizeLikeString } from '../lib/database/utils'; const DiscussionMessagesView = ({ navigation, route }) => { const rid = route.params?.rid; - // const t = route.params?.t; - // const prid = route.params?.prid; const canAutoTranslate = route.params?.canAutoTranslate; const autoTranslate = route.params?.autoTranslate; const autoTranslateLanguage = route.params?.autoTranslateLanguage; const baseUrl = useSelector(state => state.server.server); - // const user = useSelector(state => getUserSelector(state)); const useRealName = useSelector(state => state.settings.UI_Use_Real_Name); const Message_TimeFormat = useSelector(state => state.settings.Message_TimeFormat); const isMasterDetail = useSelector(state => state.app.isMasterDetail); diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 13de89c87..d6e94a9a0 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -424,7 +424,7 @@ class RoomView extends React.Component { } }); } else { - navigation.navigate('RoomActionsView', { + navigation.push('RoomActionsView', { rid: this.rid, t: this.t, room, member }); }