Skip to content

Commit

Permalink
chore: Improve alias UX in chat settings
Browse files Browse the repository at this point in the history
Signed-off-by: Krille <[email protected]>
  • Loading branch information
krille-chan committed Dec 11, 2024
1 parent 21be49c commit 7ec39a1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/pages/chat_access_settings/chat_access_settings_page.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import 'package:flutter/material.dart' hide Visibility;

import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

import 'package:fluffychat/pages/chat_access_settings/chat_access_settings_controller.dart';
import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_locals.dart';
import 'package:fluffychat/widgets/layouts/max_width_body.dart';
import 'package:flutter/material.dart' hide Visibility;
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

class ChatAccessSettingsPageView extends StatelessWidget {
final ChatAccessSettingsController controller;
Expand Down Expand Up @@ -238,8 +236,8 @@ class _AliasListTile extends StatelessWidget {
'https://matrix.to/#/$alias',
context,
),
child: Text(
'https://matrix.to/#/$alias',
child: SelectableText(
alias,
style: TextStyle(
decoration: TextDecoration.underline,
decorationColor: theme.colorScheme.primary,
Expand Down

0 comments on commit 7ec39a1

Please sign in to comment.