From 697964a5ef9091ab91611317411e92653a74900c Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Tue, 12 Nov 2024 09:35:01 -0300 Subject: [PATCH 1/3] fix --- .../preferences_settings_widget.dart | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/lib/pages/preferences_settings_page/preferences_settings_widget.dart b/lib/pages/preferences_settings_page/preferences_settings_widget.dart index c8603a7a..e0f7e4e2 100644 --- a/lib/pages/preferences_settings_page/preferences_settings_widget.dart +++ b/lib/pages/preferences_settings_page/preferences_settings_widget.dart @@ -104,26 +104,26 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.toggleFingerprint(context); isEnabled = model.isFingerprint; content = FFLocalizations.of(context).getVariableText( - ptText: 'Ative a autenticação por impressão digital para login seguro.', - enText: 'Enable fingerprint authentication for secure login.', + ptText: 'Autenticar com impressão digital no QRCode', + enText: 'Authenticate with fingerprint on the QRCode', ); break; case 1: - icon = Icons.person; + icon = Icons.share; onPressed = () => model.enablePerson(context); isEnabled = model.isPerson; content = FFLocalizations.of(context).getVariableText( - ptText: 'Compartilhe o código de identificação remota', - enText: 'Share the remote identification code', + ptText: 'Compartilhar o código de identificação', + enText: 'Share the identification code', ); break; case 2: - icon = Icons.info; + icon = Icons.transfer_within_a_station_outlined; onPressed = () => model.toggleIdentification(context); isEnabled = false; content = FFLocalizations.of(context).getVariableText( - ptText: 'Atualize suas informações de identificação de acesso.', - enText: 'Update your access identification information.', + ptText: 'Habilitar dispositivo para acesso', + enText: 'Enable device for access', ); break; case 3: @@ -131,8 +131,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.toggleNotify(context); isEnabled = model.isNotify; content = FFLocalizations.of(context).getVariableText( - ptText: 'Ative para receber sua notificação de acesso', - enText: 'Enable to receive your access notification', + ptText: 'Receber notificação de acesso', + enText: 'Receive access notification', ); break; case 4: @@ -140,8 +140,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.toggleAccess(context); isEnabled = model.isAccess; content = FFLocalizations.of(context).getVariableText( - ptText: 'Ative para inserir uma credencial de acesso para o QRCode', - enText: 'Enable to enter an access credential for the QRCode', + ptText: 'Registrar credencial de acesso para o QRCode', + enText: 'Register access credential for the QRCode', ); break; case 5: @@ -149,8 +149,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.togglePanic(context); isEnabled = model.isPanic; content = FFLocalizations.of(context).getVariableText( - ptText: 'Ative para inserir uma credencial de pânico para o QRCode', - enText: 'Enable to enter a panic credential for the QRCode', + ptText: 'Registrar credencial de pânico para o QRCode', + enText: 'Register panic credential for the QRCode', ); break; case 6: @@ -160,8 +160,8 @@ class _PreferencesPageWidgetState extends State { }; isEnabled = false; content = FFLocalizations.of(context).getVariableText( - ptText: 'Desative para se desvincular do local selecionado', - enText: 'Enable to unlink from the selected location', + ptText: 'Desvincular do local selecionado', + enText: 'Unlink from selected location', ); break; case 7: @@ -169,8 +169,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.deleteAccount(context); isEnabled = false; content = FFLocalizations.of(context).getVariableText( - ptText: 'Delete sua conta e todos os dados associados permanentemente.', - enText: 'Delete your account and all associated data permanently.', + ptText: 'Deletar conta do sistema', + enText: 'Delete account from the system', ); break; case 8: @@ -178,8 +178,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.logout(context); isEnabled = false; content = FFLocalizations.of(context).getVariableText( - ptText: 'Sair da conta atual e voltar para a tela de login.', - enText: 'Log out of the current account and return to the login screen.', + ptText: 'Sair da conta', + enText: 'Logout', ); break; default: @@ -187,7 +187,7 @@ class _PreferencesPageWidgetState extends State { } return SizedBox( - height: 100, + height: 66, child: GestureDetector( onTap: () { switch (index) { From 5209d0c96af94a361b4d93d6f809d6196720d11d Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Tue, 12 Nov 2024 09:50:05 -0300 Subject: [PATCH 2/3] misc --- .../preferences_settings_widget.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/pages/preferences_settings_page/preferences_settings_widget.dart b/lib/pages/preferences_settings_page/preferences_settings_widget.dart index e0f7e4e2..f3fa3d93 100644 --- a/lib/pages/preferences_settings_page/preferences_settings_widget.dart +++ b/lib/pages/preferences_settings_page/preferences_settings_widget.dart @@ -140,8 +140,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.toggleAccess(context); isEnabled = model.isAccess; content = FFLocalizations.of(context).getVariableText( - ptText: 'Registrar credencial de acesso para o QRCode', - enText: 'Register access credential for the QRCode', + ptText: 'Registrar senha de acesso para o QRCode', + enText: 'Register access password for the QRCode', ); break; case 5: @@ -149,12 +149,12 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.togglePanic(context); isEnabled = model.isPanic; content = FFLocalizations.of(context).getVariableText( - ptText: 'Registrar credencial de pânico para o QRCode', - enText: 'Register panic credential for the QRCode', + ptText: 'Registrar senha de pânico para o QRCode', + enText: 'Register panic password for the QRCode', ); break; case 6: - icon = Icons.landscape; + icon = Icons.real_estate_agent; onPressed = () { model.localUnlink(context); }; @@ -169,8 +169,8 @@ class _PreferencesPageWidgetState extends State { onPressed = () => model.deleteAccount(context); isEnabled = false; content = FFLocalizations.of(context).getVariableText( - ptText: 'Deletar conta do sistema', - enText: 'Delete account from the system', + ptText: 'Deletar conta permanentemente', + enText: 'Delete account permanently', ); break; case 8: From cfaf738d4bc51a7e209f64b7f75654ca31c56c34 Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Tue, 12 Nov 2024 10:23:42 -0300 Subject: [PATCH 3/3] WIP --- .../preferences_settings_page/preferences_settings_widget.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/preferences_settings_page/preferences_settings_widget.dart b/lib/pages/preferences_settings_page/preferences_settings_widget.dart index f3fa3d93..26f0f719 100644 --- a/lib/pages/preferences_settings_page/preferences_settings_widget.dart +++ b/lib/pages/preferences_settings_page/preferences_settings_widget.dart @@ -6,6 +6,7 @@ import 'package:hub/flutter_flow/flutter_flow_util.dart'; import 'package:hub/flutter_flow/nav/nav.dart'; import 'package:hub/pages/preferences_settings_page/preferences_settings_model.dart'; import 'package:hub/shared/utils/limited_text_size.dart'; +import 'package:material_symbols_icons/symbols.dart'; import 'package:provider/provider.dart'; @@ -154,7 +155,7 @@ class _PreferencesPageWidgetState extends State { ); break; case 6: - icon = Icons.real_estate_agent; + icon = Symbols.digital_out_of_home; onPressed = () { model.localUnlink(context); };