From 290143ad2d0d6cd33dced3a3cc2275c14686132f Mon Sep 17 00:00:00 2001 From: nixos script Date: Thu, 5 Oct 2023 14:27:10 +0800 Subject: [PATCH] add icons to about settings section change some settings description text --- lib/settings/views/screens/settings.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/settings/views/screens/settings.dart b/lib/settings/views/screens/settings.dart index 36350408..34540c57 100644 --- a/lib/settings/views/screens/settings.dart +++ b/lib/settings/views/screens/settings.dart @@ -119,9 +119,7 @@ class SettingsScreen extends StatelessWidget { locals.useDash, locals.useProxy, locals.autoplayVideoOnLoad, - locals.subtitleFontSize, - locals.rememberSubtitleLanguage, - locals.rememberPlaybackSpeed, + locals.subtitles, "SponsorBlock", locals.lockFullScreenToLandscape, locals.fillFullscreen @@ -149,16 +147,20 @@ class SettingsScreen extends StatelessWidget { ), ]), SettingsSection(title: (Text(locals.about)), tiles: [ - SettingsTile(title: const Center(child: SizedBox(height: 150, width: 150, child: AppIcon()))), SettingsTile( + title: const Center(child: SizedBox(height: 150, width: 150, child: AppIcon()))), + SettingsTile( + leading: const Icon(Icons.badge_outlined), title: Text('${locals.name}: ${_.packageInfo.appName}'), description: Text('${locals.package}: ${_.packageInfo.packageName}'), ), SettingsTile( + leading: const Icon(Icons.numbers), title: Text('${locals.version}: ${_.packageInfo.version}'), description: Text('${locals.build}: ${_.packageInfo.buildNumber}'), ), SettingsTile( + leading: const Icon(Icons.toc), title: Text(locals.appLogs), description: Text(locals.appLogsDescription), onPressed: openAppLogs,