Преглед изворни кода

Remove chat as a support option

vishnukvmd пре 4 година
родитељ
комит
2dd47c0056
1 измењених фајлова са 10 додато и 24 уклоњено
  1. 10 24
      lib/ui/settings/support_section_widget.dart

+ 10 - 24
lib/ui/settings/support_section_widget.dart

@@ -38,30 +38,6 @@ class SupportSectionWidget extends StatelessWidget {
           child: SettingsTextItem(text: "email", icon: Icons.navigate_next),
         ),
         Divider(height: 4),
-        GestureDetector(
-          behavior: HitTestBehavior.translucent,
-          onTap: () async {
-            Navigator.of(context).push(
-              MaterialPageRoute(
-                builder: (BuildContext context) {
-                  return CrispChatPage();
-                },
-              ),
-            );
-          },
-          child: SettingsTextItem(text: "chat", icon: Icons.navigate_next),
-        ),
-        Divider(height: 4),
-        GestureDetector(
-          behavior: HitTestBehavior.translucent,
-          onTap: () async {
-            await sendLogs(context, "bug@ente.io");
-            showToast("thanks for reporting a bug!");
-          },
-          child: SettingsTextItem(
-              text: "report bug 🐞", icon: Icons.navigate_next),
-        ),
-        Divider(height: 4),
         GestureDetector(
           behavior: HitTestBehavior.translucent,
           onTap: () {
@@ -89,6 +65,16 @@ class SupportSectionWidget extends StatelessWidget {
           },
           child: SettingsTextItem(text: "community", icon: Icons.navigate_next),
         ),
+        Divider(height: 4),
+        GestureDetector(
+          behavior: HitTestBehavior.translucent,
+          onTap: () async {
+            await sendLogs(context, "bug@ente.io");
+            showToast("thanks for reporting a bug!");
+          },
+          child: SettingsTextItem(
+              text: "report bug 🐞", icon: Icons.navigate_next),
+        ),
       ],
     );
   }