mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
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.
This commit is contained in:
parent
551305b55a
commit
32769c9d9f
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue