Skip to content

Commit

Permalink
Apply figma
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello committed Aug 29, 2024
1 parent d42a338 commit fc3b203
Show file tree
Hide file tree
Showing 26 changed files with 87 additions and 47 deletions.
14 changes: 9 additions & 5 deletions app/containers/List/ListIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';

import { CustomIcon, TIconsName } from '../CustomIcon';
import { ICON_SIZE } from './constants';
import { useTheme } from '../../theme';

interface IListIcon {
name: TIconsName;
Expand All @@ -19,11 +20,14 @@ const styles = StyleSheet.create({
}
});

const ListIcon = ({ name, color, style, testID, size }: IListIcon): React.ReactElement => (
<View style={[styles.icon, style]}>
<CustomIcon name={name} color={color} size={size ?? ICON_SIZE} testID={testID} />
</View>
);
const ListIcon = ({ name, color, style, testID, size }: IListIcon): React.ReactElement => {
const { colors } = useTheme();
return (
<View style={[styles.icon, style]}>
<CustomIcon name={name} color={color || colors.fontDefault} size={size ?? ICON_SIZE} testID={testID} />
</View>
);
};

ListIcon.displayName = 'List.Icon';

Expand Down
4 changes: 2 additions & 2 deletions app/containers/List/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const styles = StyleSheet.create({
title: {
flexShrink: 1,
fontSize: 16,
...sharedStyles.textRegular
...sharedStyles.textMedium
},
subtitle: {
fontSize: 14,
Expand Down Expand Up @@ -124,7 +124,7 @@ const Content = React.memo(
{left ? <View style={styles.leftContainer}>{left()}</View> : null}
<View style={styles.textContainer}>
<View style={styles.textAlertContainer}>
<Text style={[styles.title, styleTitle, { color: color || themes[theme].fontTitlesLabels }]} numberOfLines={1}>
<Text style={[styles.title, styleTitle, { color: color || themes[theme].fontDefault }]} numberOfLines={1}>
{translateTitle && title ? I18n.t(title) : title}
</Text>
{alert ? (
Expand Down
2 changes: 1 addition & 1 deletion app/containers/List/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const PADDING_HORIZONTAL = 12;
export const BASE_HEIGHT = 46;
export const ICON_SIZE = 20;
export const ICON_SIZE = 24;
2 changes: 1 addition & 1 deletion app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
"Users": "مستخدمين",
"Uses_server_configuration": "يستخدم إعداد الخادم",
"Verify_email_desc": "لقد أرسلنا إليك بريداً إلكترونياً لتأكيد تسجيلك. إذا لم تتلق البريد الإلكتروني قريباً، فيرجى العودة والمحاولة مرة أخرى",
"Version_no": "النسخة: {{version}}",
"Version_no": "إصدار التطبيق: {{version}}",
"View_Original": "عرض المحتوى الأصلي",
"Wait_activation_warning": "يحب تفعيل حسابك من المشرف قبل تسجيل الدخول",
"Waiting_for_network": "بانتظار توفر شبكة...",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
"Users": "ব্যবহারকারীগণ",
"Uses_server_configuration": "ওয়ার্কস্পেস কনফিগারেশন ব্যবহার করে",
"Verify_email_desc": "আমরা আপনার নিবন্ধন নিশ্চিত করতে একটি ইমেল পাঠিয়েছি। যদি আপনি শীঘ্রই একটি ইমেল পাননি, তবে দয়া করে ফিরে এসে আবার চেষ্টা করুন।",
"Version_no": "সংস্করণ: {{version}}",
"Version_no": "অ্যাপ সংস্করণ: {{version}}",
"Video": "ভিডিও",
"video-conf-provider-not-configured-body": "একটি কার্যক্ষম প্রশাসককে প্রথমে কনফারেন্স কল বৈশিষ্ট্যটি চালু করতে হবে।",
"video-conf-provider-not-configured-header": "কনফারেন্স কল সক্ষম হয়নি",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@
"Uses_server_configuration": "Používá konfiguraci pracovního prostoru",
"Verify": "Ověřit",
"Verify_email_desc": "Poslali jsme vám e-mail pro potvrzení vaší registrace. Pokud e-mail brzy neobdržíte, vraťte se a zkuste to znovu.",
"Version_no": "Verze: {{version}}",
"Version_no": "Verze aplikace: {{version}}",
"Vibrate": "Vibrovat",
"Video": "Video",
"video-conf-provider-not-configured-body": "Správce pracovního prostoru musí nejprve povolit funkci konferenčních hovorů.",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@
"Users": "Benutzer",
"Uses_server_configuration": "Nutzt Servereinstellungen",
"Verify_email_desc": "Wir haben Ihnen eine Email geschickt um Ihre Anmeldung zu bestätigen. Wenn Sie keine Email erhalten, versuchen Sie es später noch einmal.",
"Version_no": "Version: {{version}}",
"Version_no": "App-Version: {{version}}",
"video-conf-provider-not-configured-body": "Ein Arbeitsbereich-Administrator muss die Funktion für Telefonkonferenzen zuerst aktivieren.",
"video-conf-provider-not-configured-header": "Telefonkonferenz nicht aktiviert",
"View_Original": "Original anzeigen",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@
"Uses_server_configuration": "Uses workspace configuration",
"Verify": "Verify",
"Verify_email_desc": "We have sent you an email to confirm your registration. If you do not receive an email shortly, please come back and try again.",
"Version_no": "Version: {{version}}",
"Version_no": "App version: {{version}}",
"Vibrate": "Vibrate",
"Video": "Video",
"video-conf-provider-not-configured-body": "A workspace admin needs to enable the conference calls feature first.",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
"Username": "Nombre de usuario",
"Username_or_email": "Nombre de usuario o email",
"Users": "Usuarios",
"Version_no": "Versión: {{version}}",
"Version_no": "Versión de la aplicación: {{version}}",
"View_Original": "Ver original",
"Websocket_disabled": "Websocket está deshabilitado para este servidor.\n{{contact}}",
"Whats_the_password_for_your_certificate": "¿Cuál es la contraseña de tu certificado?",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@
"Users": "Käyttäjät",
"Uses_server_configuration": "Käyttää palvelimen määrityksiä",
"Verify_email_desc": "Lähetimme rekisteröitymisvahvistuksen sähköpostiisi. Jos et saa sähköpostia pian, yritä uudelleen.",
"Version_no": "Versio: {{version}}",
"Version_no": "Sovelluksen versio: {{version}}",
"View_Original": "Näytä alkuperäinen",
"Wait_activation_warning": "Ennen kuin voit kirjautua, järjestelmänvalvojan on aktivoitava tilisi manuaalisesti.",
"Waiting_for_answer": "Odotetaan vastausta",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
"Users": "Utilisateurs",
"Uses_server_configuration": "Utilise la configuration du serveur",
"Verify_email_desc": "Nous vous avons envoyé un e-mail pour confirmer votre inscription. Si vous ne recevez pas d'e-mail sous peu, veuillez revenir et réessayer.",
"Version_no": "Version : {{version}}",
"Version_no": "Version de l'application : {{version}}",
"View_Original": "Voir l'original",
"Wait_activation_warning": "Avant de pouvoir vous connecter, votre compte doit être activé manuellement par un administrateur.",
"Waiting_for_network": "En attente du réseau...",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
"Users": "उपयोगकर्ताएँ",
"Uses_server_configuration": "कार्यस्थान समरूपण का उपयोग करता है",
"Verify_email_desc": "हमने आपको आपके पंजीकरण की पुष्टि के लिए एक ईमेल भेजा है। यदि आपको शीघ्र एक ईमेल प्राप्त नहीं होता है, तो कृपया वापस आकर पुनः प्रयास करें।",
"Version_no": "संस्करण: {{version}}",
"Version_no": "ऐप संस्करण: {{version}}",
"Video": "वीडियो",
"video-conf-provider-not-configured-body": "कार्यक्षेत्र प्रबंधक को पहले कॉन्फ़्रेंस कॉल सुविधा सक्षम करनी होगी।",
"video-conf-provider-not-configured-header": "कॉन्फ़्रेंस कॉल सक्षम नहीं है",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@
"Users": "Felhasználók",
"Uses_server_configuration": "Használja a munkaterület konfigurációját",
"Verify_email_desc": "Küldtünk Önnek egy e-mailt a regisztrációja megerősítéséhez. Ha nem kap rövidesen e-mailt, akkor térjen vissza, és próbálja meg újra.",
"Version_no": "Verzió: {{version}}",
"Version_no": "Alkalmazás verzió: {{version}}",
"Video": "Videó",
"video-conf-provider-not-configured-body": "A munkaterület adminisztrátorának először engedélyeznie kell a konferenciahívások funkciót.",
"video-conf-provider-not-configured-header": "Konferenciahívás nem engedélyezett",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
"Users": "Utenti",
"Uses_server_configuration": "Usa la configurazione del server",
"Verify_email_desc": "Ti abbiamo inviato una e-mail per confermare la tua registrazione. Se non la ricevi, ritorna qui e riprova",
"Version_no": "Versione: {{version}}",
"Version_no": "Versione dell'app: {{version}}",
"View_Original": "Mostra originale",
"Wait_activation_warning": "Prima di poter accedere, il tuo account deve essere attivato manualmente da un amministratore.",
"Waiting_for_network": "In attesa di connessione ...",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
"Username_or_email": "ユーザー名かメールアドレス",
"Users": "ユーザー",
"Uses_server_configuration": "サーバー構成を使用する",
"Version_no": "バージョン: {{version}}",
"Version_no": "アプリバージョン: {{version}}",
"View_Original": "オリジナルを見る",
"Websocket_disabled": "Websocketはこのサーバーでは無効化されています。\n{{contact}}",
"Whats_the_password_for_your_certificate": "証明書のパスワードはなんですか?",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
"Users": "Gebruikers",
"Uses_server_configuration": "Gebruikt serverconfiguratie",
"Verify_email_desc": "We hebben je een e-mail gestuurd om je inschrijving te bevestigen. Als je binnenkort geen e-mail ontvangt, gelieve terug te komen en het opnieuw te proberen.",
"Version_no": "Versie: {{version}}",
"Version_no": "App-versie: {{version}}",
"View_Original": "Bekijk origineel",
"Wait_activation_warning": "Voordat u kunt inloggen, moet uw account handmatig worden geactiveerd door een beheerder.",
"Waiting_for_network": "Wachten op netwerk...",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
"Uses_server_configuration": "Usar configuração da workspace",
"Verify": "Verificar",
"Verify_email_desc": "Nós lhe enviamos um e-mail para confirmar o seu registro. Se você não receber um e-mail em breve, por favor retorne e tente novamente.",
"Version_no": "Versão: {{version}}",
"Version_no": "Versão do aplicativo: {{version}}",
"Vibrate": "Vibrar",
"Video": "Vídeo",
"video-conf-provider-not-configured-body": "Um administrador do workspace precisa ativar o recurso de chamadas de conferência primeiro.",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@
"Users": "Пользователи",
"Uses_server_configuration": "Используется конфигурация сервера",
"Verify_email_desc": "Вам был отправлен email для подтверждения регистрации. Если вы не получили этого сообщения, пожалуйста, попробуйте еще раз.",
"Version_no": "Версия: {{version}}",
"Version_no": "Версия приложения: {{version}}",
"View_Original": "Посмотреть оригинал",
"Wait_activation_warning": "До того как вы сможете войти, ваш аккаунт должен быть вручную активирован администратором сервера.",
"Waiting_for_answer": "Ожидание ответа",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/sl-SI.json
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
"Users": "Uporabniki",
"Uses_server_configuration": "Uporablja konfiguracijo strežnika",
"Verify_email_desc": "Poslali smo vam e -poštno sporočilo za potrditev vaše registracije. Če v kratkem ne prejmete e -pošte, se vrnite in poskusite znova.",
"Version_no": "Različica: {{version}}",
"Version_no": "Različica aplikacije: {{version}}",
"View_Original": "Pogled original",
"Wait_activation_warning": "Preden se lahko prijavite, mora skrbnik ročno aktivirati vaš račun.",
"Waiting_for_network": "Čakanje na omrežje ...",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@
"Users": "Användare",
"Uses_server_configuration": "Använder serverkonfiguration",
"Verify_email_desc": "Vi har skickat ett e-postmeddelande för att bekräfta din registrering. Om du inte får e-postmeddelandet försöker du igen.",
"Version_no": "Version: {{version}}",
"Version_no": "Appversion: {{version}}",
"View_Original": "Visa original",
"Wait_activation_warning": "Innan du kan logga in måste ditt konto aktiveras manuellt av en administratör.",
"Waiting_for_answer": "Väntar på svar",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/ta-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
"Users": "பயனர்கள்",
"Uses_server_configuration": "பணியில் உள்ளேயே உபயோகிக்குகின்றது",
"Verify_email_desc": "உங்களுக்கு உங்கள் பதிவுக்கு உறுதிப்படுத்த ஒரு மின்னஞ்சல் அனுப்பினோம். உங்களுக்கு விரைவில் ஒரு மின்னஞ்சல் பெறாதிருக்கின்றார்கள், தயவுசெய்து மீண்டும் வாருங்கள் மற்றும் முயற்சிக்கவும்.",
"Version_no": "பதிப்பு: {{version}}",
"Version_no": "நிரல் பதிப்பு: {{version}}",
"Video": "காணொளி",
"video-conf-provider-not-configured-body": "காரிகள் ஆட்சேர்க்கலாம் என்பதற்கு முகப்பு நிர்வாகி முதலாளியின் அனுமதி தேவை.",
"video-conf-provider-not-configured-header": "காந்ஃபரன்ஸ் கால் கொள்ளை இயக்கப்படவில்லை",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/te-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
"Users": "వాడుకరులు",
"Uses_server_configuration": "పనితనం ఆకృతి ఉపయోగిస్తుంది",
"Verify_email_desc": "మేము మీ నమోదుని ధ్యానంలోకి పెంపొందాం. మీరు తక్షణం ఒక ఇమెయిల్ పొందరాక, దయచేసి మళ్ళీ ప్రయత్నించండి.",
"Version_no": "పరిస్థితి: {{version}}",
"Version_no": "అనువర్తనం సంచిక: {{version}}",
"Video": "వీడియో",
"video-conf-provider-not-configured-body": "వార్క్‌స్పేస్ యాడ్మిన్ మొదలు కాన్ఫరెన్స్ కాల్స్ విశేషాలు ఏర్పాట్లో ఉన్నాయి.",
"video-conf-provider-not-configured-header": "కాన్ఫరెన్స్ కాల్ అనేకంగా లేదు",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@
"Users": "Kullanıcılar",
"Uses_server_configuration": "Sunucu yapılandırmasını kullanır",
"Verify_email_desc": "Kaydınızı onaylamak için size bir e-posta gönderdik. Kısa süre içinde bir e-posta almazsanız, lütfen geri gelin ve tekrar deneyin.",
"Version_no": "Versiyon: {{version}}",
"Version_no": "Uygulama sürümü: {{version}}",
"View_Original": "Orijinali Görüntüle",
"Wait_activation_warning": "Giriş yapmadan önce, hesabınız bir yönetici tarafından manuel olarak etkinleştirilmelidir.",
"Waiting_for_network": "Ağ bağlantısı bekleniyor ...",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
"Users": "用戶",
"Uses_server_configuration": "使用服务器设置",
"Verify_email_desc": "我们已经送出一封电子邮件,以确认您的注册。如果您没有很快收到,请再试一次。",
"Version_no": "版本: {{version}}",
"Version_no": "应用版本: {{version}}",
"View_Original": "检视原文",
"Wait_activation_warning": "您的帐号必须由管理员手动启用后才能登入。",
"Waiting_for_network": "等待网路连接",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
"Users": "使用者",
"Uses_server_configuration": "使用伺服器設定",
"Verify_email_desc": "我們已經送出一封電子郵件,以確認您的註冊。如果您沒有很快收到,請再試一次。",
"Version_no": "版本: {{version}}",
"Version_no": "應用程式版本: {{version}}",
"View_Original": "檢視原文",
"Wait_activation_warning": "您的帳號必須由管理員手動啟用後才能登入。",
"Waiting_for_network": "等待網路連線",
Expand Down
Loading

0 comments on commit fc3b203

Please sign in to comment.