Skip to content

Commit

Permalink
Fix Navigation: On clicking change language it navigates to home scre…
Browse files Browse the repository at this point in the history
…en. (PalisadoesFoundation#2402)

* fixed select language button

* updated select language bug fix
  • Loading branch information
soaham-pimparkar authored and Peter Harrison committed Feb 28, 2024
1 parent 400b65b commit 85fddfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/views/pre_auth_screens/set_url.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -186,7 +187,8 @@ class _SetUrlState extends State<SetUrl> {
GestureDetector(
key: const Key('ChangeLanguage'),
onTap: () {
navigationService.pop();
navigationService
.pushScreen(Routes.languageSelectionRoute);
},
child: Padding(
padding: EdgeInsets.only(
Expand Down

0 comments on commit 85fddfe

Please sign in to comment.