@@ -32,15 +32,31 @@ class SettingsPage extends StatelessWidget {
3232 child: SafeArea (
3333 minimum: const EdgeInsets .only (bottom: 8 ),
3434 child: Column (children: [
35- SwitchListTile (
36- title: Text (zulipLocalizations.settingsUseExternal),
37- value: globalStore.globalSettings.effectiveBrowserPreference == BrowserPreference .external ,
38- onChanged: (useExternal) {
39- globalStore.updateGlobalSettings (GlobalSettingsCompanion (
40- browserPreference: Value (
41- useExternal ? BrowserPreference .external
42- : BrowserPreference .embedded)));
43- }),
35+ ListTileTheme (
36+ data: const ListTileThemeData (
37+ contentPadding: EdgeInsets .symmetric (horizontal: 16 ),
38+ dense: true ,
39+ minVerticalPadding: 0 ,
40+ minTileHeight: 38 ,
41+
42+ horizontalTitleGap: 0 ,
43+ minLeadingWidth: 38 ,
44+ ),
45+ child: SwitchListTile (
46+ title: Text (zulipLocalizations.settingsUseExternal,
47+ style: const TextStyle (
48+ fontSize: 17 ,
49+ height: 26 / 17 ,
50+ ),
51+ ),
52+ value: globalStore.globalSettings.effectiveBrowserPreference == BrowserPreference .external ,
53+ onChanged: (useExternal) {
54+ globalStore.updateGlobalSettings (GlobalSettingsCompanion (
55+ browserPreference: Value (
56+ useExternal ? BrowserPreference .external
57+ : BrowserPreference .embedded)));
58+ }),
59+ ),
4460 Theme (
4561 data: themeData.copyWith (splashColor: Colors .transparent),
4662 child: _ThemeSetting (initialValue: globalStore.globalSettings.themeSetting)),
0 commit comments