6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit e2f321a5
Changed files
.../components/share_room_confirm_dialog.dart | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-)
Diff
diff --git a/comwell_key_app/lib/choose_share_room/components/share_room_confirm_dialog.dart b/comwell_key_app/lib/choose_share_room/components/share_room_confirm_dialog.dart
index c859e55f..f8416c34 100644
--- a/comwell_key_app/lib/choose_share_room/components/share_room_confirm_dialog.dart
+++ b/comwell_key_app/lib/choose_share_room/components/share_room_confirm_dialog.dart
@@ -35,17 +35,7 @@ class ShareRoomConfirmDialog extends StatelessWidget {
),
const SizedBox(height: 32),
ElevatedButton(
- style: ElevatedButton.styleFrom(
- backgroundColor: sandColor,
- foregroundColor: Colors.white,
- elevation: 0,
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(40),
- ),
- padding: const EdgeInsets.symmetric(vertical: 16),
- ),
onPressed: () {
-
context.pop(true);
},
child: Text('choose_room_confirmation_confirm'.tr(),
@@ -53,16 +43,10 @@ class ShareRoomConfirmDialog extends StatelessWidget {
?.copyWith(color: Colors.white)),
),
const SizedBox(height: 16),
- ElevatedButton(
- style: ElevatedButton.styleFrom(
- backgroundColor: Colors.white,
- foregroundColor: Colors.black,
- elevation: 0,
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(40),
- ),
+ OutlinedButton(
+ style: OutlinedButton.styleFrom(
+ minimumSize: const Size(double.infinity, 50),
side: const BorderSide(color: colorDivider),
- padding: const EdgeInsets.symmetric(vertical: 16),
),
onPressed: () {
context.pop(false);