Skip to content

Commit

Permalink
Fix/display value on delete (#256)
Browse files Browse the repository at this point in the history
* fix: display value on delete

* chore: update pods and pubs
  • Loading branch information
jkoenig134 authored Sep 2, 2024
1 parent 66c9353 commit 7004e5c
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 34 deletions.
14 changes: 7 additions & 7 deletions apps/enmeshed/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ PODS:
- GTMSessionFetcher/Core (< 4.0, >= 3.3.2)
- MLImage (= 1.0.0-beta5)
- MLKitCommon (~> 11.0)
- mobile_scanner (5.1.1):
- mobile_scanner (5.2.1):
- Flutter
- GoogleMLKit/BarcodeScanning (~> 6.0.0)
- nanopb (2.30910.0):
- nanopb/decode (= 2.30910.0)
- nanopb/encode (= 2.30910.0)
- nanopb/decode (2.30910.0)
- nanopb/encode (2.30910.0)
- open_file (0.0.1):
- open_file_ios (0.0.1):
- Flutter
- OrderedSet (5.0.0)
- package_info_plus (0.4.5):
Expand Down Expand Up @@ -142,7 +142,7 @@ DEPENDENCIES:
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
- mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`)
- open_file (from `.symlinks/plugins/open_file/ios`)
- open_file_ios (from `.symlinks/plugins/open_file_ios/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
Expand Down Expand Up @@ -193,8 +193,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/image_picker_ios/ios"
mobile_scanner:
:path: ".symlinks/plugins/mobile_scanner/ios"
open_file:
:path: ".symlinks/plugins/open_file/ios"
open_file_ios:
:path: ".symlinks/plugins/open_file_ios/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
Expand Down Expand Up @@ -231,9 +231,9 @@ SPEC CHECKSUMS:
MLKitBarcodeScanning: 10ca0845a6d15f2f6e911f682a1998b68b973e8b
MLKitCommon: afec63980417d29ffbb4790529a1b0a2291699e1
MLKitVision: e858c5f125ecc288e4a31127928301eaba9ae0c1
mobile_scanner: 8564358885a9253c43f822435b70f9345c87224f
mobile_scanner: 131a34df36b024cc53457809fb991700f16f72d7
nanopb: 438bc412db1928dac798aa6fd75726007be04262
open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d
open_file_ios: 461db5853723763573e140de3193656f91990d9e
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
Expand Down
2 changes: 1 addition & 1 deletion apps/enmeshed/lib/core/modals/delete_attribute.dart
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class _DeleteConfirmation extends StatelessWidget {
}

String _getDisplayValue(BuildContext context, AttributeValue value) {
return switch (value.runtimeType) {
return switch (value) {
final AffiliationAttributeValue affiliation => affiliation.role,
final BirthDateAttributeValue birthDate => _getBirtDateValue(context, birthDate),
final BirthPlaceAttributeValue birthPlace => birthPlace.city,
Expand Down
108 changes: 82 additions & 26 deletions apps/enmeshed/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@ packages:
dependency: "direct main"
description:
name: flex_seed_scheme
sha256: cc08c81879ecfd2ab840664ce4770980da0b8a319e35f51bcf763849b7f7596b
sha256: "86470c8dc470f55dd3e28a6d30e3253a1c176df32903263d7daeabfc0c77dbd4"
url: "https://pub.dev"
source: hosted
version: "3.1.2"
version: "3.2.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -445,10 +445,10 @@ packages:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256: "9d98bd47ef9d34e803d438f17fd32b116d31009f534a6fa5ce3a1167f189a6de"
sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda"
url: "https://pub.dev"
source: hosted
version: "2.0.21"
version: "2.0.22"
flutter_slidable:
dependency: "direct main"
description:
Expand Down Expand Up @@ -479,10 +479,10 @@ packages:
dependency: "direct main"
description:
name: go_router
sha256: ddc16d34b0d74cb313986918c0f0885a7ba2fc24d8fb8419de75f0015144ccfe
sha256: "2ddb88e9ad56ae15ee144ed10e33886777eb5ca2509a914850a5faa7b52ff459"
url: "https://pub.dev"
source: hosted
version: "14.2.3"
version: "14.2.7"
gtk:
dependency: transitive
description:
Expand Down Expand Up @@ -543,10 +543,10 @@ packages:
dependency: transitive
description:
name: image_picker_android
sha256: "8c5abf0dcc24fe6e8e0b4a5c0b51a5cf30cefdf6407a3213dae61edc75a70f56"
sha256: c0a6763d50b354793d0192afd0a12560b823147d3ded7c6b77daf658fa05cc85
url: "https://pub.dev"
source: hosted
version: "0.8.12+12"
version: "0.8.12+13"
image_picker_for_web:
dependency: transitive
description:
Expand Down Expand Up @@ -703,34 +703,90 @@ packages:
dependency: transitive
description:
name: mime
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a"
url: "https://pub.dev"
source: hosted
version: "1.0.5"
version: "1.0.6"
mime_type:
dependency: "direct main"
description:
name: mime_type
sha256: "2ad6e67d3d2de9ac0f8ef5352d998fd103cb21351ae8c02fb0c78b079b37d275"
sha256: d652b613e84dac1af28030a9fba82c0999be05b98163f9e18a0849c6e63838bb
url: "https://pub.dev"
source: hosted
version: "1.0.0"
version: "1.0.1"
mobile_scanner:
dependency: "direct main"
description:
name: mobile_scanner
sha256: b8c0e9afcfd52534f85ec666f3d52156f560b5e6c25b1e3d4fe2087763607926
sha256: "6ac2913ad98c83f558d2c8a55bc8f511bdcf28b86639701c04b04c16da1e9ee1"
url: "https://pub.dev"
source: hosted
version: "5.1.1"
version: "5.2.1"
open_file:
dependency: "direct main"
description:
name: open_file
sha256: a5a32d44acb7c899987d0999e1e3cbb0a0f1adebbf41ac813ec6d2d8faa0af20
sha256: de371f549b1320a48980952473fae1903d4927975506534c8ea4643642eb5f98
url: "https://pub.dev"
source: hosted
version: "3.5.3"
open_file_android:
dependency: transitive
description:
name: open_file_android
sha256: b5e1a2e9c5ea8e256b015403e94299039627c7205c2a5e6bb426c33235b6ca9a
url: "https://pub.dev"
source: hosted
version: "1.0.2"
open_file_ios:
dependency: transitive
description:
name: open_file_ios
sha256: "8d9c03495cf14ca70bdbf191894b822ba3b2629cc0046ee311cbbe504db66c44"
url: "https://pub.dev"
source: hosted
version: "1.0.2"
open_file_linux:
dependency: transitive
description:
name: open_file_linux
sha256: cd2088722048b9c40f8615c6d83005fe0726e0e447e9cdfb40c2b65477291f7d
url: "https://pub.dev"
source: hosted
version: "0.0.4"
open_file_mac:
dependency: transitive
description:
name: open_file_mac
sha256: "9d809f528cccc6dc9390caf50893eae9a6944e0f3b8a2558c7ad19e91c9244a1"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
open_file_platform_interface:
dependency: transitive
description:
name: open_file_platform_interface
sha256: "14c50efb1a9667cb96e4fa68d601e6ad348fe337b02789834029b37ae3631498"
url: "https://pub.dev"
source: hosted
version: "3.3.2"
version: "1.0.2"
open_file_web:
dependency: transitive
description:
name: open_file_web
sha256: ba35c6f38c21c2bb4268a80927bb828353dda0edfce92e274e0b9639e4f31360
url: "https://pub.dev"
source: hosted
version: "0.0.2"
open_file_windows:
dependency: transitive
description:
name: open_file_windows
sha256: "2f4318d2d3958ec8d63b6dd4430c15b1fcb2fe7a2113e83c734584501a5c6d81"
url: "https://pub.dev"
source: hosted
version: "0.0.2"
package_info_plus:
dependency: "direct main"
description:
Expand Down Expand Up @@ -823,10 +879,10 @@ packages:
dependency: transitive
description:
name: permission_handler_android
sha256: eaf2a1ec4472775451e88ca6a7b86559ef2f1d1ed903942ed135e38ea0097dca
sha256: "76e4ab092c1b240d31177bb64d2b0bea43f43d0e23541ec866151b9f7b2490fa"
url: "https://pub.dev"
source: hosted
version: "12.0.8"
version: "12.0.12"
permission_handler_apple:
dependency: transitive
description:
Expand All @@ -839,10 +895,10 @@ packages:
dependency: transitive
description:
name: permission_handler_html
sha256: "6cac773d389e045a8d4f85418d07ad58ef9e42a56e063629ce14c4c26344de24"
sha256: af26edbbb1f2674af65a8f4b56e1a6f526156bc273d0e65dd8075fab51c78851
url: "https://pub.dev"
source: hosted
version: "0.1.2"
version: "0.1.3+2"
permission_handler_platform_interface:
dependency: transitive
description:
Expand Down Expand Up @@ -958,18 +1014,18 @@ packages:
dependency: transitive
description:
name: shared_preferences
sha256: c272f9cabca5a81adc9b0894381e9c1def363e980f960fa903c604c471b22f68
sha256: "746e5369a43170c25816cc472ee016d3a66bc13fcf430c0bc41ad7b4b2922051"
url: "https://pub.dev"
source: hosted
version: "2.3.1"
version: "2.3.2"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974
sha256: "480ba4345773f56acda9abf5f50bd966f581dac5d514e5fc4a18c62976bbba7e"
url: "https://pub.dev"
source: hosted
version: "2.3.1"
version: "2.3.2"
shared_preferences_foundation:
dependency: transitive
description:
Expand Down Expand Up @@ -1123,10 +1179,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: f0c73347dfcfa5b3db8bc06e1502668265d39c08f310c29bff4e28eea9699f79
sha256: e35a698ac302dd68e41f73250bd9517fe3ab5fa4f18fe4647a0872db61bacbab
url: "https://pub.dev"
source: hosted
version: "6.3.9"
version: "6.3.10"
url_launcher_ios:
dependency: transitive
description:
Expand Down

0 comments on commit 7004e5c

Please sign in to comment.