Jira translation fix

merge-requests/87/head
haroon amjad 3 years ago
parent de6652623c
commit 915a7d208f

@ -69,28 +69,28 @@ class _AppDrawerState extends State<AppDrawer> {
).expanded ).expanded
], ],
).paddingOnly(left: 14, right: 14, top: 21, bottom: 21), ).paddingOnly(left: 14, right: 14, top: 21, bottom: 21),
Row( // Row(
children: [ // children: [
Row( // Row(
children: [ // children: [
LocaleKeys.english.tr().toText14(color: AppState().isArabic(context) ? null : MyColors.textMixColor).onPress(() { // LocaleKeys.english.tr().toText14(color: AppState().isArabic(context) ? null : MyColors.textMixColor).onPress(() {
context.setLocale(const Locale("en", "US")); // context.setLocale(const Locale("en", "US"));
postLanguageChange(context); // postLanguageChange(context);
}), // }),
Container( // Container(
width: 1, // width: 1,
color: MyColors.darkWhiteColor, // color: MyColors.darkWhiteColor,
height: 16, // height: 16,
margin: const EdgeInsets.only(left: 10, right: 10), // margin: const EdgeInsets.only(left: 10, right: 10),
), // ),
LocaleKeys.arabic.tr().toText14(color: !AppState().isArabic(context) ? null : MyColors.textMixColor).onPress(() { // LocaleKeys.arabic.tr().toText14(color: !AppState().isArabic(context) ? null : MyColors.textMixColor).onPress(() {
context.setLocale(const Locale("ar", "SA")); // context.setLocale(const Locale("ar", "SA"));
postLanguageChange(context); // postLanguageChange(context);
}), // }),
], // ],
), // ),
], // ],
).paddingOnly(left: 14, right: 14, bottom: 14), // ).paddingOnly(left: 14, right: 14, bottom: 14),
const Divider( const Divider(
height: 1, height: 1,
thickness: 1, thickness: 1,

Loading…
Cancel
Save