fix : ui changes pre-release
This commit is contained in:
@@ -55,7 +55,11 @@ class SalesOutOfProvinceBuyersPage extends GetView<SalesOutOfProvinceBuyersLogic
|
|||||||
],
|
],
|
||||||
floatingActionButton: RFab.add(
|
floatingActionButton: RFab.add(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Get.bottomSheet(addOrEditBuyerBottomSheet(), isScrollControlled: true);
|
Get.bottomSheet(
|
||||||
|
addOrEditBuyerBottomSheet(),
|
||||||
|
isScrollControlled: true,
|
||||||
|
ignoreSafeArea: false,
|
||||||
|
).whenComplete(() => controller.resetSubmitForm());
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
floatingActionButtonLocation: FloatingActionButtonLocation.startFloat,
|
floatingActionButtonLocation: FloatingActionButtonLocation.startFloat,
|
||||||
@@ -294,9 +298,7 @@ class SalesOutOfProvinceBuyersPage extends GetView<SalesOutOfProvinceBuyersLogic
|
|||||||
Get.bottomSheet(
|
Get.bottomSheet(
|
||||||
addOrEditBuyerBottomSheet(true),
|
addOrEditBuyerBottomSheet(true),
|
||||||
isScrollControlled: true,
|
isScrollControlled: true,
|
||||||
).whenComplete(() {
|
).whenComplete(() => controller.resetSubmitForm());
|
||||||
controller.resetSubmitForm();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
textStyle: AppFonts.yekan20.copyWith(color: Colors.white),
|
textStyle: AppFonts.yekan20.copyWith(color: Colors.white),
|
||||||
backgroundColor: AppColor.greenNormal,
|
backgroundColor: AppColor.greenNormal,
|
||||||
|
|||||||
@@ -50,7 +50,13 @@ class SalesOutOfProvinceSalesListPage extends GetView<SalesOutOfProvinceSalesLis
|
|||||||
children: [
|
children: [
|
||||||
RFab.add(
|
RFab.add(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Get.bottomSheet(addOrEditSaleBottomSheet(), isScrollControlled: true);
|
Get.bottomSheet(
|
||||||
|
addOrEditSaleBottomSheet(),
|
||||||
|
ignoreSafeArea: false,
|
||||||
|
isScrollControlled: true,
|
||||||
|
).whenComplete(() {
|
||||||
|
controller.clearSaleForm();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
|
|||||||
Reference in New Issue
Block a user