diff --git a/src/ui/flutter_app/lib/widgets/settings_list_tile.dart b/src/ui/flutter_app/lib/widgets/settings_list_tile.dart index c7773d95..970d4d3c 100644 --- a/src/ui/flutter_app/lib/widgets/settings_list_tile.dart +++ b/src/ui/flutter_app/lib/widgets/settings_list_tile.dart @@ -44,20 +44,25 @@ class SettingsListTile extends StatelessWidget { title: Text(titleString, style: AppTheme.switchListTileTitleStyle), subtitle: subtitleString == null ? null - : Text(subtitleString!, - style: TextStyle(color: UIColors.secondaryColor)), - trailing: Row(mainAxisSize: MainAxisSize.min, children: [ - Text( - trailingColor == null - ? (trailingString == null ? "" : trailingString!) - : trailingColor!.toRadixString(16), - style: TextStyle( - backgroundColor: - trailingColor == null ? null : Color(trailingColor!), + : Text( + subtitleString!, + style: TextStyle(color: UIColors.secondaryColor), + ), + trailing: Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text( + trailingColor == null + ? (trailingString == null ? "" : trailingString!) + : trailingColor!.toRadixString(16), + style: TextStyle( + backgroundColor: + trailingColor == null ? null : Color(trailingColor!), + ), ), - ), - Icon(Icons.keyboard_arrow_right, color: UIColors.secondaryColor), - ]), + Icon(Icons.keyboard_arrow_right, color: UIColors.secondaryColor), + ], + ), onTap: onTap, ); } diff --git a/src/ui/flutter_app/lib/widgets/settings_switch_list_tile.dart b/src/ui/flutter_app/lib/widgets/settings_switch_list_tile.dart index 1098a276..d591d3a6 100644 --- a/src/ui/flutter_app/lib/widgets/settings_switch_list_tile.dart +++ b/src/ui/flutter_app/lib/widgets/settings_switch_list_tile.dart @@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ + import 'package:flutter/material.dart'; import 'package:sanmill/style/app_theme.dart'; import 'package:sanmill/style/colors.dart'; @@ -44,8 +45,10 @@ class SettingsSwitchListTile extends StatelessWidget { title: Text(titleString, style: AppTheme.switchListTileTitleStyle), subtitle: subtitleString == null ? null - : Text(subtitleString!, - style: TextStyle(color: UIColors.secondaryColor)), + : Text( + subtitleString!, + style: TextStyle(color: UIColors.secondaryColor), + ), ); } }