fix: selectable new device key.

In devices menu, when key for the connection of new device is created, one can select key text for copy.
pull/482/head
Aliaksei Tratseuski 2024-04-20 03:16:38 +04:00
parent 551305b55a
commit 32769c9d9f
1 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ class NewDeviceScreen extends StatelessWidget {
class _KeyDisplay extends StatelessWidget {
const _KeyDisplay({required this.newDeviceKey});
final String newDeviceKey;
@override
@ -47,7 +48,7 @@ class _KeyDisplay extends StatelessWidget {
children: [
const Divider(),
const SizedBox(height: 16),
Text(
SelectableText(
newDeviceKey,
style: Theme.of(context).textTheme.bodyLarge!.copyWith(
fontSize: 24,