minor tweaks

This commit is contained in:
Reinaldo Neto 2023-12-11 22:37:06 -03:00
parent a652301cd2
commit d615457235
4 changed files with 5 additions and 8 deletions

View File

@ -5,11 +5,8 @@ import { ITroubleshootingNotification } from '../reducers/troubleshootingNotific
type TSetTroubleshootingNotification = Action & { payload: Partial<ITroubleshootingNotification> };
type TSetInAlertTroubleshootingNotification = Action & { payload: Pick<ITroubleshootingNotification, 'inAlertNotification'> };
export type TActionTroubleshootingNotification = Action &
TSetTroubleshootingNotification &
TSetInAlertTroubleshootingNotification;
export type TActionTroubleshootingNotification = Action & TSetTroubleshootingNotification;
export function requestTroubleshootingNotification(): Action {
return {

View File

@ -743,7 +743,7 @@
"accept": "Accept",
"Incoming_call_from": "Incoming call from",
"Call_started": "Call started",
"Message_has_been_shared":"Message has been shared",
"Message_has_been_shared": "Message has been shared",
"No_channels_in_team": "No Channels on this team",
"Push_Troubleshooting": "Push Troubleshooting",
"Device_notification_settings": "Device notification settings",
@ -764,7 +764,7 @@
"Device_notifications_alert_title": "Notifications disabled",
"Device_notifications_alert_description": "Please go to your settings app and enable notifications for Rocket.Chat",
"Push_consumption_alert_title": "You can be limitless",
"Push_consumption_alert_description":"Talk to your workspace administrator about upgrading, and forget about notification limits!",
"Push_consumption_alert_description": "Talk to your workspace administrator about upgrading, and forget about notification limits!",
"Jitsi_may_require_authentication": "Jitsi may require authentication",
"Jitsi_authentication_before_making_calls_admin": "Jitsi may require authentication before making calls. To learn more about their policies, visit the Jitsi website. You can also update the default app for video calls in the preferences.",
"Jitsi_authentication_before_making_calls": "Jitsi may require authentication before making calls. To learn more about their policies, visit the Jitsi website.",

View File

@ -737,7 +737,7 @@
"Select": "Selecionar",
"Nickname": "Apelido",
"Bio": "Biografia",
"Message_has_been_shared":"Mensagem foi compartilhada",
"Message_has_been_shared": "Mensagem foi compartilhada",
"No_channels_in_team": "Nenhum canal nesta equipe",
"Push_Troubleshooting": "Solucionar Problemas de Push",
"Device_notification_settings": "Configurações de notificações do dispositivo",

View File

@ -92,7 +92,7 @@ const RenderSwitch = ({ preference, room, onChangeValue }: IBaseParams) => {
const NotificationPreferencesView = (): React.ReactElement => {
const route = useRoute<RouteProp<ChatsStackParamList, 'NotificationPrefView'>>();
const { rid, room } = route.params;
const navigation = useNavigation<StackNavigationProp<ChatsStackParamList, 'RoomsListView'>>();
const navigation = useNavigation<StackNavigationProp<ChatsStackParamList, 'NotificationPrefView'>>();
const { serverVersion, isMasterDetail } = useAppSelector(state => ({
serverVersion: state.server.version,
isMasterDetail: state.app.isMasterDetail