6/5/1
This commit is contained in:
@@ -26,8 +26,8 @@ class Language extends StatelessWidget {
|
||||
const SizedBox(height: 20),
|
||||
MyElevatedButton(
|
||||
title: 'العربية',
|
||||
onPressed: () {
|
||||
controller.changeLang("ar");
|
||||
onPressed: () async {
|
||||
await controller.changeLang("ar");
|
||||
Get.defaultDialog(
|
||||
title: 'You should restart app to change language'.tr,
|
||||
titleStyle: AppStyle.title,
|
||||
|
||||
Reference in New Issue
Block a user