From 96117fd1913263e45cf9405edb18fe5a0bbd47aa Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Sun, 28 Mar 2021 12:15:01 +0300 Subject: [PATCH] =?UTF-8?q?PAP-625:=20add=20=20option=20=E2=80=9Cnot=20cla?= =?UTF-8?q?ssified=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/feedback/send_feedback_page.dart | 31 +++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/lib/pages/feedback/send_feedback_page.dart b/lib/pages/feedback/send_feedback_page.dart index aded1a3b..189b4761 100644 --- a/lib/pages/feedback/send_feedback_page.dart +++ b/lib/pages/feedback/send_feedback_page.dart @@ -410,7 +410,7 @@ class _SendFeedbackPageState extends State { ), )), SizedBox( - height: 45, + height: 100, ), ], ), @@ -418,14 +418,15 @@ class _SendFeedbackPageState extends State { ), ), bottomSheet: Container( - height: MediaQuery.of(context).size.height * 0.09, + height: MediaQuery.of(context).size.height * 0.12, width: double.infinity, padding: EdgeInsets.all(15.0), child: Center( child: Container( - height: MediaQuery.of(context).size.height * 0.8, + height: MediaQuery.of(context).size.height * 0.1, child: SecondaryButton( label: TranslationBase.of(context).send, + textColor: Colors.white, disabled: (titleController.text.toString().isEmpty || messageController.text.toString().isEmpty|| messageType == MessageType.NON), onTap: () { final form = formKey.currentState; @@ -556,6 +557,30 @@ class FeedbackTypeDialogState extends State { height: 2.5, color: Colors.grey[500], ), + Row( + children: [ + Expanded( + flex: 1, + child: InkWell( + onTap: () => setMessageDialogType( + MessageType.NON), + child: ListTile( + title: Texts(TranslationBase.of(context).notClassified), + leading: Radio( + value: MessageType.NON, + groupValue: messageTypeDialog, + activeColor: Theme.of(context).primaryColor, + onChanged: (MessageType value) => + setMessageDialogType(value), + ), + ), + ), + ) + ], + ), + SizedBox( + height: 5.0, + ), Row( children: [ Expanded(