From 0edc09b5afb1651c5a168887450c86607abf35f7 Mon Sep 17 00:00:00 2001 From: Ivan Antunes Date: Mon, 9 Sep 2024 17:58:04 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Tradu=C3=A7=C3=A3o=20ao=20Solicitar=20Pe?= =?UTF-8?q?rmiss=C3=A3o=20da=20Camera?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Runner/en.lproj/InfoPlist.strings | 3 ++- ios/Runner/pt.lproj/InfoPlist.strings | 3 ++- lib/flutter_flow/upload_data.dart | 3 +-- pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ios/Runner/en.lproj/InfoPlist.strings b/ios/Runner/en.lproj/InfoPlist.strings index 9b1e3bbf..456788ca 100644 --- a/ios/Runner/en.lproj/InfoPlist.strings +++ b/ios/Runner/en.lproj/InfoPlist.strings @@ -1 +1,2 @@ -NSCameraUsageDescription = "dd/mm/yyyy"; +NSCameraUsageDescription = "FRE ACCESS HUB Uses the camera for taking profile pictures."; +NSPhotoLibraryUsageDescription = "FRE ACCESS HUB Uses the library for allowing the user to pick a photo for his profile picture or for a guest."; \ No newline at end of file diff --git a/ios/Runner/pt.lproj/InfoPlist.strings b/ios/Runner/pt.lproj/InfoPlist.strings index 8b137891..d819bbdf 100644 --- a/ios/Runner/pt.lproj/InfoPlist.strings +++ b/ios/Runner/pt.lproj/InfoPlist.strings @@ -1 +1,2 @@ - +NSCameraUsageDescription = "FRE ACCESS HUB Usa a câmera para tirar fotos de perfil."; +NSPhotoLibraryUsageDescription = "FRE ACCESS HUB Utiliza a biblioteca para permitir que o usuário escolha uma foto para sua foto de perfil ou para um convidado."; \ No newline at end of file diff --git a/lib/flutter_flow/upload_data.dart b/lib/flutter_flow/upload_data.dart index ed5e1e7b..1e3b8b9e 100644 --- a/lib/flutter_flow/upload_data.dart +++ b/lib/flutter_flow/upload_data.dart @@ -58,8 +58,7 @@ Future?> selectMediaWithSourceBottomSheet({ bool includeDimensions = false, bool includeBlurHash = false, }) async { - createUploadMediaListTile( - String label, MediaSource mediaSource, IconData icon) => + createUploadMediaListTile(String label, MediaSource mediaSource, IconData icon) => ListTile( title: Row( mainAxisAlignment: MainAxisAlignment.center, diff --git a/pubspec.yaml b/pubspec.yaml index 4ebee002..5817c85f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. publish_to: "none" -version: 1.0.0+8 +version: 1.0.0+9 environment: sdk: ">=3.0.0 <4.0.0"