TF-1611 Fix border and padding banner vacation
(cherry picked from commit 0d50f922fbd510b5c098a482affd611dcd8e64a6)
This commit is contained in:
@@ -148,15 +148,11 @@ class EmailView extends GetWidget<SingleEmailController> {
|
||||
(responsiveUtils.isMobile(context) ||
|
||||
responsiveUtils.isTablet(context) ||
|
||||
responsiveUtils.isLandscapeMobile(context))) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 5),
|
||||
child: VacationNotificationMessageWidget(
|
||||
radius: 0,
|
||||
margin: EdgeInsets.zero,
|
||||
vacationResponse: vacation!,
|
||||
actionGotoVacationSetting: () => controller.mailboxDashBoardController.goToVacationSetting(),
|
||||
actionEndNow: () => controller.mailboxDashBoardController.disableVacationResponder()),
|
||||
);
|
||||
return VacationNotificationMessageWidget(
|
||||
margin: const EdgeInsets.only(left: 12, right: 12, bottom: 5),
|
||||
vacationResponse: vacation!,
|
||||
actionGotoVacationSetting: controller.mailboxDashBoardController.goToVacationSetting,
|
||||
actionEndNow: controller.mailboxDashBoardController.disableVacationResponder);
|
||||
} else {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ class VacationNotificationMessageWidget extends StatelessWidget {
|
||||
if (leadingIcon != null) leadingIcon!,
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(right: 12),
|
||||
padding: const EdgeInsets.only(right: 12, top: 12),
|
||||
child: Center(
|
||||
child: Text(
|
||||
vacationResponse.getNotificationMessage(context),
|
||||
|
||||
Reference in New Issue
Block a user