mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +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 {
|
class _KeyDisplay extends StatelessWidget {
|
||||||
const _KeyDisplay({required this.newDeviceKey});
|
const _KeyDisplay({required this.newDeviceKey});
|
||||||
|
|
||||||
final String newDeviceKey;
|
final String newDeviceKey;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -47,7 +48,7 @@ class _KeyDisplay extends StatelessWidget {
|
||||||
children: [
|
children: [
|
||||||
const Divider(),
|
const Divider(),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Text(
|
SelectableText(
|
||||||
newDeviceKey,
|
newDeviceKey,
|
||||||
style: Theme.of(context).textTheme.bodyLarge!.copyWith(
|
style: Theme.of(context).textTheme.bodyLarge!.copyWith(
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
|
|
Loading…
Reference in a new issue