Minor tweak

This commit is contained in:
Gerzon Z 2021-07-22 11:24:24 -04:00
parent b4c55b397d
commit 82b306b95a
2 changed files with 1 additions and 4 deletions

View File

@ -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);

View File

@ -424,7 +424,7 @@ class RoomView extends React.Component {
}
});
} else {
navigation.navigate('RoomActionsView', {
navigation.push('RoomActionsView', {
rid: this.rid, t: this.t, room, member
});
}