Skip to content

Commit

Permalink
refactor: remove bold highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube committed Nov 11, 2023
1 parent ecfc39d commit d74e10b
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class SUpdateLanguage extends BaseViewModel {
// initLang();

// Return a dialog with list for each language supported by the application.
// the dialog will display the country, english name, native name of each languages,
// the current language will be highlighted with a bold font weight.
// the dialog will display the english and native name of each languages,
// the current language will be highlighted by selected radio button.
return showDialog(
context: parentContext,
builder: (context) => AlertDialog(
Expand All @@ -62,12 +62,6 @@ class SUpdateLanguage extends BaseViewModel {
return locale.languageCode;
}
})(),
style: TextStyle(
fontWeight: locale.languageCode ==
LocaleSettings.currentLocale.languageCode
? FontWeight.bold
: FontWeight.normal,
),
),
subtitle: Text(
(() {
Expand Down

0 comments on commit d74e10b

Please sign in to comment.