fix :
some ui bug
This commit is contained in:
@@ -78,7 +78,7 @@ class DisplayInformationPage extends GetView<DisplayInformationLogic> {
|
||||
Expanded(child: ROutlinedElevated(
|
||||
height: 40,
|
||||
text: 'انصراف', onPressed: (){
|
||||
Get.offAllNamed(SupervisionRoutes.supervision);
|
||||
Get.until((route) => route.isFirst);
|
||||
}))
|
||||
],
|
||||
)
|
||||
|
||||
@@ -23,7 +23,7 @@ class SupervisionFilterPage extends GetView<SupervisionFilterLogic> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return PopScope(
|
||||
canPop: controller.sheetController.value.handleBack(),
|
||||
canPop: controller.sheetController.value.handleBack,
|
||||
onPopInvokedWithResult: (didPop, result) {
|
||||
if (!didPop &&
|
||||
controller.sheetController.value.bottomSheets.isNotEmpty) {
|
||||
|
||||
@@ -43,7 +43,6 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
spacing: 16,
|
||||
children: [
|
||||
SizedBox(
|
||||
@@ -77,12 +76,12 @@ class ProfilePage extends GetView<ProfileLogic> {
|
||||
itemCount: controller.roles.length,
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 30,
|
||||
vertical: 10,
|
||||
),
|
||||
child: Expanded(
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 30,
|
||||
vertical: 10,
|
||||
),
|
||||
child: ObxValue((data) {
|
||||
return switch (data.value) {
|
||||
0 => userProfileInformation(),
|
||||
|
||||
Reference in New Issue
Block a user