From 85fddfe3ea8874bb56a6d48a17b62e98b6d64cc8 Mon Sep 17 00:00:00 2001 From: Soaham <113767354+soaham-pimparkar@users.noreply.github.com> Date: Wed, 28 Feb 2024 16:57:11 +0530 Subject: [PATCH] Fix Navigation: On clicking change language it navigates to home screen. (#2402) * fixed select language button * updated select language bug fix --- lib/views/pre_auth_screens/set_url.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/views/pre_auth_screens/set_url.dart b/lib/views/pre_auth_screens/set_url.dart index a223c519c..3e123aaa6 100644 --- a/lib/views/pre_auth_screens/set_url.dart +++ b/lib/views/pre_auth_screens/set_url.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:talawa/constants/routing_constants.dart'; import 'package:talawa/custom_painters/language_icon.dart'; import 'package:talawa/custom_painters/talawa_logo.dart'; import 'package:talawa/locator.dart'; @@ -186,7 +187,8 @@ class _SetUrlState extends State { GestureDetector( key: const Key('ChangeLanguage'), onTap: () { - navigationService.pop(); + navigationService + .pushScreen(Routes.languageSelectionRoute); }, child: Padding( padding: EdgeInsets.only(