Skip to content

Commit

Permalink
fix: wording in dev mode (#4179)
Browse files Browse the repository at this point in the history
* fixes dev mode

* Update user_preferences_dev_debug_info.dart

* Apply suggestions from code review
  • Loading branch information
teolemon committed Jun 16, 2023
1 parent 79ec954 commit 412f2da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class _UserPreferencesDebugInfoState extends State<UserPreferencesDebugInfo> {
Widget build(BuildContext context) {
return SmoothScaffold(
appBar: AppBar(
title: const Text("Debug info's"),
title: const Text('Debugging information'),
actions: <Widget>[
IconButton(
onPressed: () async {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,14 @@ class UserPreferencesDevMode extends AbstractUserPreferences {
),
ListTile(
// Do not translate
title: const Text('Reset App Language'),
title: const Text('Reset app language'),
onTap: () async {
userPreferences.setAppLanguageCode(null);
ProductQuery.setLanguage(context, userPreferences);
},
),
ListTile(
title: const Text("Debug info's"),
title: const Text('Debugging information'),
onTap: () async => Navigator.of(context).push(MaterialPageRoute<void>(
builder: (BuildContext context) =>
const UserPreferencesDebugInfo())),
Expand Down

0 comments on commit 412f2da

Please sign in to comment.