MINOR-FIX: Localization Problem Resolve.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:customer/constant/const_texts.dart';
|
||||
import 'package:customer/constant/constant.dart';
|
||||
import 'package:customer/controllers/theme_controller.dart';
|
||||
import 'package:customer/models/user_model.dart';
|
||||
@@ -39,9 +40,9 @@ class LocationPermissionScreen extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 25),
|
||||
child: Text(
|
||||
"Enable Location for a Personalized Experience".tr(),
|
||||
ConstTexts.enableLocation.tr(),
|
||||
style: AppThemeData.boldTextStyle(
|
||||
fontSize: 24,
|
||||
fontSize: 24.sp,
|
||||
color:
|
||||
isDark
|
||||
? AppThemeData.greyDark900
|
||||
@@ -54,10 +55,9 @@ class LocationPermissionScreen extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 50),
|
||||
child: Text(
|
||||
"Allow location access to discover beauty stores and services near you."
|
||||
.tr(),
|
||||
ConstTexts.allowLocation.tr(),
|
||||
style: AppThemeData.mediumTextStyle(
|
||||
fontSize: 14,
|
||||
fontSize: 16.sp,
|
||||
color:
|
||||
isDark
|
||||
? AppThemeData.greyDark600
|
||||
@@ -69,7 +69,8 @@ class LocationPermissionScreen extends StatelessWidget {
|
||||
const SizedBox(height: 30),
|
||||
RoundedButtonFill(
|
||||
borderRadius: 10.r,
|
||||
title: "Use current location".tr(),
|
||||
fontSizes: 14.sp,
|
||||
title: ConstTexts.useCurrentLocation.tr(),
|
||||
onPress: () async {
|
||||
Constant.checkPermission(
|
||||
context: context,
|
||||
@@ -137,7 +138,8 @@ class LocationPermissionScreen extends StatelessWidget {
|
||||
const SizedBox(height: 10),
|
||||
RoundedButtonFill(
|
||||
borderRadius: 10.r,
|
||||
title: "Set from map".tr(),
|
||||
fontSizes: 14.sp,
|
||||
title: ConstTexts.setFromMap.tr(),
|
||||
onPress: () async {
|
||||
Constant.checkPermission(
|
||||
context: context,
|
||||
@@ -230,9 +232,9 @@ class LocationPermissionScreen extends StatelessWidget {
|
||||
});
|
||||
},
|
||||
child: Text(
|
||||
"Enter Manually location".tr(),
|
||||
ConstTexts.enterManuallyLocation.tr(),
|
||||
style: AppThemeData.semiBoldTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 16.sp,
|
||||
color:
|
||||
isDark
|
||||
? AppThemeData.greyDark900
|
||||
|
||||
Reference in New Issue
Block a user