From 1b331e1f8e61d131acbab04ba394d62c7265a849 Mon Sep 17 00:00:00 2001 From: sainw Date: Mon, 25 Jan 2021 23:45:09 +0630 Subject: [PATCH] fix keyboard --- lib/main-prod.dart | 2 +- lib/pages/carton/carton_editor.dart | 12 ++++++------ lib/pages/rates/shipment_rates_calculate.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/main-prod.dart b/lib/main-prod.dart index 86c3693..f4e5fdb 100644 --- a/lib/main-prod.dart +++ b/lib/main-prod.dart @@ -9,7 +9,7 @@ void main() { Config( flavor: Flavor.PRODUCTION, color: Colors.blue, - apiURL: "https://asia-northeast1-fcs-prod1.cloudfunctions.net/API", + apiURL: "https://asia-northeast1-fcs-prod1.cloudfunctions.net/API106", reportURL: "http://petrok.mokkon.com:8092", reportProjectID: "fcs-prod", bucketName: "gs://fcs-prod1", diff --git a/lib/pages/carton/carton_editor.dart b/lib/pages/carton/carton_editor.dart index ca72b34..e366bc3 100644 --- a/lib/pages/carton/carton_editor.dart +++ b/lib/pages/carton/carton_editor.dart @@ -574,12 +574,12 @@ class _CartonEditorState extends State { ? CartonPackageTable( packages: _carton.packages, onSelect: (p, checked) { - if (checked && - _deliveryAddress != null && - p.deliveryAddress?.id != - _deliveryAddress.id) { - return; - } + // if (checked && + // _deliveryAddress != null && + // p.deliveryAddress?.id != + // _deliveryAddress.id) { + // return; + // } setState(() { p.isChecked = checked; }); diff --git a/lib/pages/rates/shipment_rates_calculate.dart b/lib/pages/rates/shipment_rates_calculate.dart index 5406fc2..8d21d54 100644 --- a/lib/pages/rates/shipment_rates_calculate.dart +++ b/lib/pages/rates/shipment_rates_calculate.dart @@ -119,7 +119,7 @@ class _ShipmentRatesCalState extends State { controller: _actualWeightCtl, labelTextKey: "box.actual_weight", iconData: MaterialCommunityIcons.weight, - textInputType: TextInputType.number, + textInputType: TextInputType.numberWithOptions(decimal: true), ); var cargoTypeBox = LocalDropdown( diff --git a/pubspec.yaml b/pubspec.yaml index 088449f..424aa2d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: fcs description: FCS Logistics publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 1.0.6+8 +version: 1.0.6+9 environment: sdk: ">=2.7.0 <3.0.0"