diff --git a/lib/pages/settings_style/settings_style_view.dart b/lib/pages/settings_style/settings_style_view.dart index fcc35f365..6bf3b2a79 100644 --- a/lib/pages/settings_style/settings_style_view.dart +++ b/lib/pages/settings_style/settings_style_view.dart @@ -5,7 +5,6 @@ import 'package:flutter/material.dart'; import 'package:dynamic_color/dynamic_color.dart'; import 'package:matrix/matrix.dart'; -import 'package:fluffychat/config/setting_keys.dart'; import 'package:fluffychat/config/themes.dart'; import 'package:fluffychat/l10n/l10n.dart'; import 'package:fluffychat/pages/chat/events/state_message.dart'; @@ -16,7 +15,6 @@ import 'package:fluffychat/widgets/layouts/max_width_body.dart'; import 'package:fluffychat/widgets/matrix.dart'; import 'package:fluffychat/widgets/mxc_image.dart'; import '../../config/app_config.dart'; -import '../../widgets/settings_switch_list_tile.dart'; import 'settings_style.dart'; class SettingsStyleView extends StatelessWidget { @@ -335,25 +333,25 @@ class SettingsStyleView extends StatelessWidget { semanticFormatterCallback: (d) => d.toString(), onChanged: controller.changeFontSizeFactor, ), - Divider( - color: theme.dividerColor, - ), - ListTile( - title: Text( - L10n.of(context).overview, - style: TextStyle( - color: theme.colorScheme.secondary, - fontWeight: FontWeight.bold, - ), - ), - ), - SettingsSwitchListTile.adaptive( - title: L10n.of(context).presencesToggle, - onChanged: (b) => AppConfig.showPresences = b, - storeKey: SettingKeys.showPresences, - defaultValue: AppConfig.showPresences, - ), // #Pangea + // Divider( + // color: theme.dividerColor, + // ), + // ListTile( + // title: Text( + // L10n.of(context).overview, + // style: TextStyle( + // color: theme.colorScheme.secondary, + // fontWeight: FontWeight.bold, + // ), + // ), + // ), + // SettingsSwitchListTile.adaptive( + // title: L10n.of(context).presencesToggle, + // onChanged: (b) => AppConfig.showPresences = b, + // storeKey: SettingKeys.showPresences, + // defaultValue: AppConfig.showPresences, + // ), // SettingsSwitchListTile.adaptive( // title: L10n.of(context).separateChatTypes, // onChanged: (b) => AppConfig.separateChatTypes = b, diff --git a/lib/widgets/adaptive_dialogs/user_dialog.dart b/lib/widgets/adaptive_dialogs/user_dialog.dart index 1b6e9c6ff..0a285e275 100644 --- a/lib/widgets/adaptive_dialogs/user_dialog.dart +++ b/lib/widgets/adaptive_dialogs/user_dialog.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -import 'package:flutter_linkify/flutter_linkify.dart'; import 'package:go_router/go_router.dart'; import 'package:matrix/matrix.dart'; @@ -12,7 +11,6 @@ import 'package:fluffychat/utils/date_time_extension.dart'; import 'package:fluffychat/widgets/adaptive_dialogs/adaptive_dialog_action.dart'; import 'package:fluffychat/widgets/avatar.dart'; import 'package:fluffychat/widgets/presence_builder.dart'; -import '../../utils/url_launcher.dart'; import '../future_loading_dialog.dart'; import '../hover_builder.dart'; import '../matrix.dart'; @@ -145,22 +143,22 @@ class UserDialog extends StatelessWidget { style: const TextStyle(fontSize: 10), textAlign: TextAlign.center, ), - if (statusMsg != null) - SelectableLinkify( - text: statusMsg, - textScaleFactor: - MediaQuery.textScalerOf(context).scale(1), - textAlign: TextAlign.center, - options: const LinkifyOptions(humanize: false), - linkStyle: TextStyle( - color: theme.colorScheme.primary, - decoration: TextDecoration.underline, - decorationColor: theme.colorScheme.primary, - ), - onOpen: (url) => - UrlLauncher(context, url.url).launchUrl(), - ), // #Pangea + // if (statusMsg != null) + // SelectableLinkify( + // text: statusMsg, + // textScaleFactor: + // MediaQuery.textScalerOf(context).scale(1), + // textAlign: TextAlign.center, + // options: const LinkifyOptions(humanize: false), + // linkStyle: TextStyle( + // color: theme.colorScheme.primary, + // decoration: TextDecoration.underline, + // decorationColor: theme.colorScheme.primary, + // ), + // onOpen: (url) => + // UrlLauncher(context, url.url).launchUrl(), + // ), Padding( padding: const EdgeInsets.all(4.0), child: Row(