From 9de38c2cfc62518324462c004433d91ded395e20 Mon Sep 17 00:00:00 2001 From: Fransolet Thomas Date: Mon, 17 Apr 2023 22:34:45 +0200 Subject: [PATCH] Fix bug beaconId null --- lib/Screens/Configurations/Section/section_detail_screen.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Screens/Configurations/Section/section_detail_screen.dart b/lib/Screens/Configurations/Section/section_detail_screen.dart index 2afd832..e703d1b 100644 --- a/lib/Screens/Configurations/Section/section_detail_screen.dart +++ b/lib/Screens/Configurations/Section/section_detail_screen.dart @@ -184,7 +184,7 @@ class _SectionDetailScreenState extends State { if(sectionDTO.isBeacon!) NumberInputContainer( label: "Identifiant Beacon :", - initialValue: sectionDTO != null ? sectionDTO.beaconId! : 0, + initialValue: sectionDTO.beaconId != null ? sectionDTO.beaconId! : 0, isSmall: true, onChanged: (value) { try { diff --git a/pubspec.yaml b/pubspec.yaml index f62fb28..a7ce7e9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.16.2 <3.0.1" + sdk: ">=2.16.2 <3.2.0" dependencies: flutter: