Fix intl warning & upgrade sentry (#1320)

This commit is contained in:
Neeraj Gupta 2023-08-16 11:36:49 +05:30 committed by GitHub
commit 8574683185
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 122 additions and 81 deletions

View file

@ -24,9 +24,9 @@ PODS:
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/Logger (~> 7.8)
- FirebaseCoreInternal (10.10.0):
- FirebaseCoreInternal (10.13.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseInstallations (10.10.0):
- FirebaseInstallations (10.13.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
@ -71,26 +71,26 @@ PODS:
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- GoogleDataTransport (9.2.3):
- GoogleDataTransport (9.2.5):
- GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/AppDelegateSwizzler (7.11.1):
- GoogleUtilities/AppDelegateSwizzler (7.11.5):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.11.1):
- GoogleUtilities/Environment (7.11.5):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.11.1):
- GoogleUtilities/Logger (7.11.5):
- GoogleUtilities/Environment
- GoogleUtilities/Network (7.11.1):
- GoogleUtilities/Network (7.11.5):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.11.1)"
- GoogleUtilities/Reachability (7.11.1):
- "GoogleUtilities/NSData+zlib (7.11.5)"
- GoogleUtilities/Reachability (7.11.5):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.11.1):
- GoogleUtilities/UserDefaults (7.11.5):
- GoogleUtilities/Logger
- image_editor_common (1.0.0):
- Flutter
@ -101,15 +101,18 @@ PODS:
- FlutterMacOS
- integration_test (0.0.1):
- Flutter
- libwebp (1.2.4):
- libwebp/demux (= 1.2.4)
- libwebp/mux (= 1.2.4)
- libwebp/webp (= 1.2.4)
- libwebp/demux (1.2.4):
- libwebp (1.3.1):
- libwebp/demux (= 1.3.1)
- libwebp/mux (= 1.3.1)
- libwebp/sharpyuv (= 1.3.1)
- libwebp/webp (= 1.3.1)
- libwebp/demux (1.3.1):
- libwebp/webp
- libwebp/mux (1.2.4):
- libwebp/mux (1.3.1):
- libwebp/demux
- libwebp/webp (1.2.4)
- libwebp/sharpyuv (1.3.1)
- libwebp/webp (1.3.1):
- libwebp/sharpyuv
- local_auth_ios (0.0.1):
- Flutter
- Mantle (2.2.0):
@ -137,21 +140,23 @@ PODS:
- photo_manager (2.0.0):
- Flutter
- FlutterMacOS
- PromisesObjC (2.2.0)
- PromisesObjC (2.3.1)
- ReachabilitySwift (5.0.0)
- receive_sharing_intent (0.0.1):
- Flutter
- SDWebImage (5.16.0):
- SDWebImage/Core (= 5.16.0)
- SDWebImage/Core (5.16.0)
- SDWebImageWebPCoder (0.11.0):
- SDWebImage (5.17.0):
- SDWebImage/Core (= 5.17.0)
- SDWebImage/Core (5.17.0)
- SDWebImageWebPCoder (0.13.0):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.15)
- Sentry/HybridSDK (7.31.5)
- SDWebImage/Core (~> 5.17)
- Sentry/HybridSDK (8.9.1):
- SentryPrivate (= 8.9.1)
- sentry_flutter (0.0.1):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (= 7.31.5)
- Sentry/HybridSDK (= 8.9.1)
- SentryPrivate (8.9.1)
- share_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
@ -238,6 +243,7 @@ SPEC REPOS:
- SDWebImage
- SDWebImageWebPCoder
- Sentry
- SentryPrivate
- Toast
EXTERNAL SOURCES:
@ -331,8 +337,8 @@ SPEC CHECKSUMS:
firebase_core: ce64b0941c6d87c6ef5022ae9116a158236c8c94
firebase_messaging: 42912365e62efc1ea3e00724e5eecba6068ddb88
FirebaseCore: b68d3616526ec02e4d155166bbafb8eca64af557
FirebaseCoreInternal: 971029061d326000d65bfdc21f5502c75c8b0893
FirebaseInstallations: 52153982b057d3afcb4e1fbb3eb0b6d00611e681
FirebaseCoreInternal: b342e37cd4f5b4454ec34308f073420e7920858e
FirebaseInstallations: b28af1b9f997f1a799efe818c94695a3728c352f
FirebaseMessaging: 6b7052cc3da7bc8e5f72bef871243e8f04a14eed
fk_user_agent: 1f47ec39291e8372b1d692b50084b0d54103c545
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
@ -345,13 +351,13 @@ SPEC CHECKSUMS:
flutter_sodium: c84426b4de738514b5b66cfdeb8a06634e72fe0b
fluttertoast: fafc4fa4d01a6a9e4f772ecd190ffa525e9e2d9c
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
GoogleDataTransport: f0308f5905a745f94fb91fea9c6cbaf3831cb1bd
GoogleUtilities: 9aa0ad5a7bc171f8bae016300bfcfa3fb8425749
GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2
GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
image_editor_common: d6f6644ae4a6de80481e89fe6d0a8c49e30b4b43
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
in_app_purchase_storekit: 4fb7ee9e824b1f09107fbfbbce8c4b276366dc43
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
libwebp: 33dc822fbbf4503668d09f7885bbfedc76c45e96
local_auth_ios: c6cf091ded637a88f24f86a8875d8b0f526e2605
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
media_extension: 6d30dc1431ebaa63f43c397c37917b1a0a597a4c
@ -363,13 +369,14 @@ SPEC CHECKSUMS:
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
path_provider_foundation: eaf5b3e458fc0e5fbb9940fb09980e853fe058b8
photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604
PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
receive_sharing_intent: c0d87310754e74c0f9542947e7cbdf3a0335a3b1
SDWebImage: 2aea163b50bfcb569a2726b6a754c54a4506fcf6
SDWebImageWebPCoder: 295a6573c512f54ad2dd58098e64e17dcf008499
Sentry: 4c9babff9034785067c896fd580b1f7de44da020
sentry_flutter: 1346a880b24c0240807b53b10cf50ddad40f504e
SDWebImage: 750adf017a315a280c60fde706ab1e552a3ae4e9
SDWebImageWebPCoder: af09429398d99d524cae2fe00f6f0f6e491ed102
Sentry: e3203780941722a1fcfee99e351de14244c7f806
sentry_flutter: 8f0ffd53088e6a4d50c095852c5cad9e4405025c
SentryPrivate: 5e3683390f66611fc7c6215e27645873adb55d13
share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a

View file

@ -272,6 +272,7 @@
"${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
"${BUILT_PRODUCTS_DIR}/SDWebImageWebPCoder/SDWebImageWebPCoder.framework",
"${BUILT_PRODUCTS_DIR}/Sentry/Sentry.framework",
"${BUILT_PRODUCTS_DIR}/SentryPrivate/SentryPrivate.framework",
"${BUILT_PRODUCTS_DIR}/Toast/Toast.framework",
"${BUILT_PRODUCTS_DIR}/background_fetch/background_fetch.framework",
"${BUILT_PRODUCTS_DIR}/camera_avfoundation/camera_avfoundation.framework",
@ -329,6 +330,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImageWebPCoder.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Sentry.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SentryPrivate.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Toast.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/background_fetch.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/camera_avfoundation.framework",

View file

@ -216,7 +216,7 @@ class SuperLogging {
static void setUserID(String userID) async {
if (config.sentryDsn != null) {
Sentry.configureScope((scope) => scope.user = SentryUser(id: userID));
Sentry.configureScope((scope) => scope.setUser(SentryUser(id: userID)));
$.info("setting sentry user ID to: $userID");
}
}

View file

@ -22,11 +22,11 @@ class TunneledTransport implements Transport {
: _dsn = _options.dsn != null ? Dsn.parse(_options.dsn!) : null,
_headers = _buildHeaders(
_options.platformChecker.isWeb,
_options.sdk.identifier,
_options.sentryClientName,
) {
_credentialBuilder = _CredentialBuilder(
_dsn,
_options.sdk.identifier,
_options.sentryClientName,
_options.clock,
);
}

View file

@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_datetime_picker/flutter_datetime_picker.dart';
import "package:flutter_datetime_picker_bdaya/flutter_datetime_picker_bdaya.dart";
import 'package:photos/theme/colors.dart';
import 'package:photos/theme/ente_theme.dart';
@ -278,13 +278,13 @@ extension CustomColorScheme on ColorScheme {
? const Color.fromARGB(255, 238, 238, 238)
: const Color.fromRGBO(255, 255, 255, 1).withOpacity(0.1);
DatePickerTheme get dateTimePickertheme => brightness == Brightness.light
? const DatePickerTheme(
DatePickerThemeBdaya get dateTimePickertheme => brightness == Brightness.light
? const DatePickerThemeBdaya(
backgroundColor: Colors.white,
itemStyle: TextStyle(color: Colors.black),
cancelStyle: TextStyle(color: Colors.black),
)
: const DatePickerTheme(
: const DatePickerThemeBdaya(
backgroundColor: Colors.black,
itemStyle: TextStyle(color: Colors.white),
cancelStyle: TextStyle(color: Colors.white),

View file

@ -217,10 +217,15 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Aggiungi una nuova email"),
"addCollaborator":
MessageLookupByLibrary.simpleMessage("Aggiungi collaboratore"),
"addFromDevice":
MessageLookupByLibrary.simpleMessage("Aggiungi dal dispositivo"),
"addItem": m0,
"addLocation": MessageLookupByLibrary.simpleMessage("Aggiungi luogo"),
"addLocationButton": MessageLookupByLibrary.simpleMessage("Aggiungi"),
"addMore": MessageLookupByLibrary.simpleMessage("Aggiungi altri"),
"addPhotos": MessageLookupByLibrary.simpleMessage("Aggiungi foto"),
"addSelected":
MessageLookupByLibrary.simpleMessage("Aggiungi selezionate"),
"addToAlbum":
MessageLookupByLibrary.simpleMessage("Aggiungi all\'album"),
"addToEnte": MessageLookupByLibrary.simpleMessage("Aggiungi su ente"),
@ -309,6 +314,9 @@ class MessageLookup extends MessageLookupByLibrary {
"Invita amici, amiche e parenti su ente"),
"atAFalloutShelter":
MessageLookupByLibrary.simpleMessage("in un rifugio antiatomico"),
"authToChangeEmailVerificationSetting":
MessageLookupByLibrary.simpleMessage(
"Autenticati per modificare la verifica email"),
"authToChangeLockscreenSetting": MessageLookupByLibrary.simpleMessage(
"Autenticati per modificare le impostazioni della schermata di blocco"),
"authToChangeYourEmail": MessageLookupByLibrary.simpleMessage(
@ -435,6 +443,8 @@ class MessageLookup extends MessageLookupByLibrary {
"continueLabel": MessageLookupByLibrary.simpleMessage("Continua"),
"continueOnFreeTrial":
MessageLookupByLibrary.simpleMessage("Continua la prova gratuita"),
"convertToAlbum":
MessageLookupByLibrary.simpleMessage("Converti in album"),
"copyEmailAddress":
MessageLookupByLibrary.simpleMessage("Copia indirizzo email"),
"copyLink": MessageLookupByLibrary.simpleMessage("Copia link"),
@ -448,6 +458,9 @@ class MessageLookup extends MessageLookupByLibrary {
"couldNotUpdateSubscription": MessageLookupByLibrary.simpleMessage(
"Impossibile aggiornare l\'abbonamento"),
"count": MessageLookupByLibrary.simpleMessage("Conteggio"),
"crashReporting":
MessageLookupByLibrary.simpleMessage("Segnalazione di crash"),
"create": MessageLookupByLibrary.simpleMessage("Crea"),
"createAccount": MessageLookupByLibrary.simpleMessage("Crea account"),
"createAlbumActionHint": MessageLookupByLibrary.simpleMessage(
"Premi a lungo per selezionare le foto e fai clic su + per creare un album"),
@ -570,6 +583,8 @@ class MessageLookup extends MessageLookupByLibrary {
"email": MessageLookupByLibrary.simpleMessage("Email"),
"emailChangedTo": m15,
"emailNoEnteAccount": m16,
"emailVerificationToggle":
MessageLookupByLibrary.simpleMessage("Verifica Email"),
"emailYourLogs": MessageLookupByLibrary.simpleMessage(
"Invia una mail con i tuoi log"),
"empty": MessageLookupByLibrary.simpleMessage("Vuoto"),
@ -633,8 +648,8 @@ class MessageLookup extends MessageLookupByLibrary {
"Impossibile applicare il codice"),
"failedToCancel":
MessageLookupByLibrary.simpleMessage("Impossibile annullare"),
"failedToDownloadVideo":
MessageLookupByLibrary.simpleMessage("Failed to download video"),
"failedToDownloadVideo": MessageLookupByLibrary.simpleMessage(
"Download del video non riuscito"),
"failedToFetchOriginalForEdit": MessageLookupByLibrary.simpleMessage(
"Impossibile recuperare l\'originale per la modifica"),
"failedToFetchReferralDetails": MessageLookupByLibrary.simpleMessage(
@ -735,7 +750,7 @@ class MessageLookup extends MessageLookupByLibrary {
"inviteYourFriends":
MessageLookupByLibrary.simpleMessage("Invita i tuoi amici"),
"inviteYourFriendsToEnte":
MessageLookupByLibrary.simpleMessage("Invite your friends to ente"),
MessageLookupByLibrary.simpleMessage("Invita i tuoi amici a ente"),
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome":
MessageLookupByLibrary.simpleMessage(
"Sembra che qualcosa sia andato storto. Riprova tra un po\'. Se l\'errore persiste, contatta il nostro team di supporto."),
@ -853,8 +868,8 @@ class MessageLookup extends MessageLookupByLibrary {
"newToEnte": MessageLookupByLibrary.simpleMessage("Nuovo utente"),
"newest": MessageLookupByLibrary.simpleMessage("Più recenti"),
"no": MessageLookupByLibrary.simpleMessage("No"),
"noAlbumsSharedByYouYet":
MessageLookupByLibrary.simpleMessage("No albums shared by you yet"),
"noAlbumsSharedByYouYet": MessageLookupByLibrary.simpleMessage(
"Ancora nessun album condiviso da te"),
"noDeviceThatCanBeDeleted": MessageLookupByLibrary.simpleMessage(
"Non hai file su questo dispositivo che possono essere eliminati"),
"noDuplicates":
@ -862,9 +877,13 @@ class MessageLookup extends MessageLookupByLibrary {
"noExifData": MessageLookupByLibrary.simpleMessage("Nessun dato EXIF"),
"noHiddenPhotosOrVideos": MessageLookupByLibrary.simpleMessage(
"Nessuna foto o video nascosti"),
"noImagesWithLocation": MessageLookupByLibrary.simpleMessage(
"Nessuna immagine con posizione"),
"noPhotosAreBeingBackedUpRightNow":
MessageLookupByLibrary.simpleMessage(
"Il backup delle foto attualmente non viene eseguito"),
"noPhotosFoundHere":
MessageLookupByLibrary.simpleMessage("Nessuna foto trovata"),
"noRecoveryKey":
MessageLookupByLibrary.simpleMessage("Nessuna chiave di recupero?"),
"noRecoveryKeyNoDecryption": MessageLookupByLibrary.simpleMessage(
@ -872,8 +891,8 @@ class MessageLookup extends MessageLookupByLibrary {
"noResults": MessageLookupByLibrary.simpleMessage("Nessun risultato"),
"noResultsFound":
MessageLookupByLibrary.simpleMessage("Nessun risultato trovato"),
"nothingSharedWithYouYet":
MessageLookupByLibrary.simpleMessage("Nothing shared with you yet"),
"nothingSharedWithYouYet": MessageLookupByLibrary.simpleMessage(
"Ancora nulla di condiviso con te"),
"nothingToSeeHere":
MessageLookupByLibrary.simpleMessage("Nulla da vedere qui! 👀"),
"notifications": MessageLookupByLibrary.simpleMessage("Notifiche"),
@ -967,6 +986,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Link pubblico creato"),
"publicLinkEnabled":
MessageLookupByLibrary.simpleMessage("Link pubblico abilitato"),
"quickLinks":
MessageLookupByLibrary.simpleMessage("Collegamenti rapidi"),
"radius": MessageLookupByLibrary.simpleMessage("Raggio"),
"raiseTicket": MessageLookupByLibrary.simpleMessage("Invia ticket"),
"rateTheApp": MessageLookupByLibrary.simpleMessage("Valuta l\'app"),
@ -1049,6 +1070,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Ripristina i file ignorati"),
"resetPasswordTitle":
MessageLookupByLibrary.simpleMessage("Reimposta password"),
"resetToDefault":
MessageLookupByLibrary.simpleMessage("Ripristina predefinita"),
"restore": MessageLookupByLibrary.simpleMessage("Ripristina"),
"restoreToAlbum":
MessageLookupByLibrary.simpleMessage("Ripristina l\'album"),
@ -1084,6 +1107,8 @@ class MessageLookup extends MessageLookupByLibrary {
"selectAll": MessageLookupByLibrary.simpleMessage("Seleziona tutto"),
"selectFoldersForBackup": MessageLookupByLibrary.simpleMessage(
"Seleziona cartelle per il backup"),
"selectItemsToAdd": MessageLookupByLibrary.simpleMessage(
"Seleziona gli elementi da aggiungere"),
"selectLanguage":
MessageLookupByLibrary.simpleMessage("Seleziona una lingua"),
"selectReason":
@ -1138,7 +1163,7 @@ class MessageLookup extends MessageLookupByLibrary {
"sharedAlbumSectionDescription": MessageLookupByLibrary.simpleMessage(
"Crea album condivisi e collaborativi con altri utenti ente, inclusi utenti su piani gratuiti."),
"sharedByMe": MessageLookupByLibrary.simpleMessage("Condiviso da me"),
"sharedByYou": MessageLookupByLibrary.simpleMessage("Shared by you"),
"sharedByYou": MessageLookupByLibrary.simpleMessage("Condivise da te"),
"sharedPhotoNotifications":
MessageLookupByLibrary.simpleMessage("Nuove foto condivise"),
"sharedPhotoNotificationsExplanation": MessageLookupByLibrary.simpleMessage(
@ -1147,7 +1172,7 @@ class MessageLookup extends MessageLookupByLibrary {
"sharedWithMe":
MessageLookupByLibrary.simpleMessage("Condivisi con me"),
"sharedWithYou":
MessageLookupByLibrary.simpleMessage("Shared with you"),
MessageLookupByLibrary.simpleMessage("Condivise con te"),
"sharing":
MessageLookupByLibrary.simpleMessage("Condivisione in corso..."),
"signUpTerms": MessageLookupByLibrary.simpleMessage(
@ -1273,6 +1298,8 @@ class MessageLookup extends MessageLookupByLibrary {
"time": MessageLookupByLibrary.simpleMessage("Ora"),
"toHideAPhotoOrVideo": MessageLookupByLibrary.simpleMessage(
"Per nascondere una foto o un video"),
"toResetVerifyEmail": MessageLookupByLibrary.simpleMessage(
"Per reimpostare la tua password, verifica prima la tua email."),
"todaysLogs": MessageLookupByLibrary.simpleMessage("Log di oggi"),
"total": MessageLookupByLibrary.simpleMessage("totale"),
"totalSize": MessageLookupByLibrary.simpleMessage("Dimensioni totali"),
@ -1350,6 +1377,7 @@ class MessageLookup extends MessageLookupByLibrary {
"videoSmallCase": MessageLookupByLibrary.simpleMessage("video"),
"viewActiveSessions":
MessageLookupByLibrary.simpleMessage("Visualizza sessioni attive"),
"viewAll": MessageLookupByLibrary.simpleMessage("Visualizza tutte"),
"viewAllExifData":
MessageLookupByLibrary.simpleMessage("Mostra tutti i dati EXIF"),
"viewLogs": MessageLookupByLibrary.simpleMessage("Visualizza i log"),
@ -1422,6 +1450,8 @@ class MessageLookup extends MessageLookupByLibrary {
"Non hai file duplicati che possono essere cancellati"),
"youveNoFilesInThisAlbumThatCanBeDeleted":
MessageLookupByLibrary.simpleMessage(
"Non hai file in questo album che possono essere eliminati")
"Non hai file in questo album che possono essere eliminati"),
"zoomOutToSeePhotos": MessageLookupByLibrary.simpleMessage(
"Zoom indietro per visualizzare le foto")
};
}

View file

@ -219,7 +219,7 @@
"after1Month": "Nach 1 Monat",
"after1Year": "Nach 1 Jahr",
"manageParticipants": "Verwalten",
"albumParticipantsCount": "{count, plural, one {}=0 {Keine Teilnehmer} =1 {1 Teilnehmer} other {{count} Teilnehmer}}",
"albumParticipantsCount": "{count, plural, =0 {Keine Teilnehmer} =1 {1 Teilnehmer} other {{count} Teilnehmer}}",
"@albumParticipantsCount": {
"placeholders": {
"count": {

View file

@ -221,7 +221,7 @@
"after1Month": "Dopo un mese",
"after1Year": "Dopo un anno",
"manageParticipants": "Gestisci",
"albumParticipantsCount": "{count, plural, one {}=0 {Nessun partecipante} =1 {1 Partecipante} other {{count} Partecipanti}}",
"albumParticipantsCount": "{count, plural, =0 {Nessun partecipante} =1 {1 Partecipante} other {{count} Partecipanti}}",
"@albumParticipantsCount": {
"placeholders": {
"count": {
@ -242,7 +242,7 @@
"publicLinkEnabled": "Link pubblico abilitato",
"shareALink": "Condividi un link",
"sharedAlbumSectionDescription": "Crea album condivisi e collaborativi con altri utenti ente, inclusi utenti su piani gratuiti.",
"shareWithPeopleSectionTitle": "{numberOfPeople, plural, one {}=0 {Condividi con persone specifiche} =1 {Condividi con una persona} other {Condividi con {numberOfPeople} persone}}",
"shareWithPeopleSectionTitle": "{numberOfPeople, plural, =0 {Condividi con persone specifiche} =1 {Condividi con una persona} other {Condividi con {numberOfPeople} persone}}",
"@shareWithPeopleSectionTitle": {
"placeholders": {
"numberOfPeople": {
@ -419,7 +419,7 @@
"skip": "Salta",
"updatingFolderSelection": "Aggiornamento della selezione delle cartelle...",
"itemCount": "{count, plural, one{{count} elemento} other{{count} elementi}}",
"deleteItemCount": "{count, plural, one {}=1 {Elimina {count} elemento} other {Elimina {count} elementi}}",
"deleteItemCount": "{count, plural, =1 {Elimina {count} elemento} other {Elimina {count} elementi}}",
"duplicateItemsGroup": "{count} file, {formattedSize} l'uno",
"@duplicateItemsGroup": {
"description": "Display the number of duplicate files and their size",
@ -754,7 +754,7 @@
"referFriendsAnd2xYourPlan": "Invita un amico e raddoppia il tuo spazio",
"shareAlbumHint": "Apri un album e tocca il pulsante di condivisione in alto a destra per condividerlo.",
"itemsShowTheNumberOfDaysRemainingBeforePermanentDeletion": "Gli elementi mostrano il numero di giorni rimanenti prima della cancellazione permanente",
"trashDaysLeft": "{count, plural, one {}=0 {} =1 {1 giorno} other {{count} giorni}}",
"trashDaysLeft": "{count, plural, =0 {} =1 {1 giorno} other {{count} giorni}}",
"@trashDaysLeft": {
"description": "Text to indicate number of days remaining before permanent deletion",
"placeholders": {

View file

@ -219,7 +219,7 @@
"after1Month": "Na 1 maand",
"after1Year": "Na 1 jaar",
"manageParticipants": "Beheren",
"albumParticipantsCount": "{count, plural, one {}=0 {Geen deelnemers} =1 {1 deelnemer} other {{count} deelnemers}}",
"albumParticipantsCount": "{count, plural, =0 {Geen deelnemers} =1 {1 deelnemer} other {{count} deelnemers}}",
"@albumParticipantsCount": {
"placeholders": {
"count": {
@ -730,7 +730,7 @@
"referFriendsAnd2xYourPlan": "Verwijs vrienden en 2x uw abonnement",
"shareAlbumHint": "Open een album en tik op de deelknop rechts bovenaan om te delen.",
"itemsShowTheNumberOfDaysRemainingBeforePermanentDeletion": "Bestanden tonen het aantal resterende dagen voordat ze permanent worden verwijderd",
"trashDaysLeft": "{count, plural, one {}=0 {} =1 {1 dag} other {{count} dagen}}",
"trashDaysLeft": "{count, plural, =0 {} =1 {1 dag} other {{count} dagen}}",
"@trashDaysLeft": {
"description": "Text to indicate number of days remaining before permanent deletion",
"placeholders": {

View file

@ -36,11 +36,13 @@ class IconButtonWidget extends StatefulWidget {
class _IconButtonWidgetState extends State<IconButtonWidget> {
Color? iconStateColor;
@override
void didChangeDependencies() {
setState(() {
iconStateColor = null;
});
super.didChangeDependencies();
void didUpdateWidget(IconButtonWidget oldWidget) {
if (oldWidget.icon != widget.icon && mounted) {
setState(() {
iconStateColor = null;
});
}
super.didUpdateWidget(oldWidget);
}
@override

View file

@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_datetime_picker/flutter_datetime_picker.dart';
import "package:flutter_datetime_picker_bdaya/flutter_datetime_picker_bdaya.dart";
import 'package:photos/ente_theme_data.dart';
import "package:photos/generated/l10n.dart";
import 'package:photos/models/collection.dart';
@ -142,7 +142,7 @@ class _ItemsWidgetState extends State<ItemsWidget> {
// _showDateTimePicker return null if user doesn't select date-time
Future<int?> _showDateTimePicker(BuildContext context) async {
final dateResult = await DatePicker.showDatePicker(
final dateResult = await DatePickerBdaya.showDatePicker(
context,
minTime: DateTime.now(),
currentTime: DateTime.now(),
@ -152,7 +152,7 @@ class _ItemsWidgetState extends State<ItemsWidget> {
if (dateResult == null) {
return null;
}
final dateWithTimeResult = await DatePicker.showTime12hPicker(
final dateWithTimeResult = await DatePickerBdaya.showTime12hPicker(
context,
showTitleActions: true,
currentTime: dateResult,

View file

@ -1,5 +1,5 @@
import "package:flutter/material.dart";
import "package:flutter_datetime_picker/flutter_datetime_picker.dart";
import "package:flutter_datetime_picker_bdaya/flutter_datetime_picker_bdaya.dart";
import "package:intl/intl.dart";
import "package:photos/ente_theme_data.dart";
import "package:photos/models/file.dart";
@ -46,7 +46,7 @@ class _CreationTimeItemState extends State<CreationTimeItem> {
}
void _showDateTimePicker(File file) async {
final dateResult = await DatePicker.showDatePicker(
final dateResult = await DatePickerBdaya.showDatePicker(
context,
minTime: DateTime(1800, 1, 1),
maxTime: DateTime.now(),
@ -57,7 +57,7 @@ class _CreationTimeItemState extends State<CreationTimeItem> {
if (dateResult == null) {
return;
}
final dateWithTimeResult = await DatePicker.showTime12hPicker(
final dateWithTimeResult = await DatePickerBdaya.showTime12hPicker(
context,
showTitleActions: true,
currentTime: dateResult,

View file

@ -648,14 +648,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.3.0"
flutter_datetime_picker:
flutter_datetime_picker_bdaya:
dependency: "direct main"
description:
name: flutter_datetime_picker
sha256: "8e695c63c769350e541951227c2775190ec73ceda774a315b1dc9a99d5facfe5"
name: flutter_datetime_picker_bdaya
sha256: "6cb42a7d659cb9a10afa0a390b81677e15fd2f7e340e7eaffabf770e6b6709c0"
url: "https://pub.dev"
source: hosted
version: "1.5.1"
version: "3.0.2"
flutter_driver:
dependency: "direct dev"
description: flutter
@ -1668,18 +1668,18 @@ packages:
dependency: "direct main"
description:
name: sentry
sha256: a1529c545fcbc899e5dcc7c94ff1c6ad0c334dfc99a3cda366b1da98af7c5678
sha256: "39c23342fc96105da449914f7774139a17a0ca8a4e70d9ad5200171f7e47d6ba"
url: "https://pub.dev"
source: hosted
version: "6.22.0"
version: "7.9.0"
sentry_flutter:
dependency: "direct main"
description:
name: sentry_flutter
sha256: cab07e99a8f27af94f399cabceaff6968011660505b30a0e2286728a81bc476c
sha256: ff68ab31918690da004a42e20204242a3ad9ad57da7e2712da8487060ac9767f
url: "https://pub.dev"
source: hosted
version: "6.22.0"
version: "7.9.0"
share_plus:
dependency: "direct main"
description:

View file

@ -56,7 +56,7 @@ dependencies:
sdk: flutter
flutter_animate: ^4.1.0
flutter_cache_manager: ^3.3.0
flutter_datetime_picker: ^1.5.1
flutter_datetime_picker_bdaya: ^3.0.2
flutter_easyloading: ^3.0.0
flutter_email_sender: ^5.2.0
flutter_image_compress: ^1.1.0
@ -114,8 +114,8 @@ dependencies:
quiver: ^3.0.1
receive_sharing_intent: ^1.4.5
scrollable_positioned_list: ^0.3.5
sentry: ^6.12.1
sentry_flutter: ^6.12.1
sentry: ^7.9.0
sentry_flutter: ^7.9.0
share_plus: ^4.0.10
shared_preferences: ^2.0.5
sqflite: ^2.0.0+3