Browse Source

fix error use water action

master
daivph 5 years ago
parent
commit
c6d431ddde
3 changed files with 2 additions and 3 deletions
  1. +1
    -1
      ios/Flutter/.last_build_id
  2. +0
    -1
      lib/presentation/screens/actions/plant/sc_edit_action_plant.dart
  3. +1
    -1
      lib/presentation/screens/actions/use_water/sc_edit_action_user_water.dart

+ 1
- 1
ios/Flutter/.last_build_id View File

@@ -1 +1 @@
5729eb498eaeb9c64784fcfc80bbb33b
dab672e712362fdbbfa98386624f95d6

+ 0
- 1
lib/presentation/screens/actions/plant/sc_edit_action_plant.dart View File

@@ -87,7 +87,6 @@ class _EditActionPlantScreenState extends State<EditActionPlantScreen> {
});
_plant.suppliesUsing = newSups;
_plant.mediaDel = Get.find<ChangeFileController>().deleteFiles;
print("plant: ${_plant.mediaDel[0]}");
var activityPlant = jsonEncode(_plant.toJson()).toString();
//ADD NEW
if (_plant.activityId == null) {

+ 1
- 1
lib/presentation/screens/actions/use_water/sc_edit_action_user_water.dart View File

@@ -194,7 +194,7 @@ class _EditActionUseWaterScreenState extends State<EditActionUseWaterScreen> {
Widget _typeWater() {
return GetBuilder<ChangeRadioButton>(
builder: (value) {
if (value._waterTypes.length > 0) {
if (value._waterTypes != null) {
return Container(
height: 150,
child: ListView.builder(

Loading…
Cancel
Save