Minor tweak
This commit is contained in:
parent
b4c55b397d
commit
82b306b95a
|
@ -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);
|
||||
|
|
|
@ -424,7 +424,7 @@ class RoomView extends React.Component {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
navigation.navigate('RoomActionsView', {
|
||||
navigation.push('RoomActionsView', {
|
||||
rid: this.rid, t: this.t, room, member
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue