This commit is contained in:
Hamza-Ayed
2024-06-05 21:53:17 +03:00
parent 22487e138d
commit a3d3090a15
22 changed files with 633 additions and 539 deletions

View File

@@ -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,