mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Add OS info to diagnostics output.
This commit is contained in:
parent
d4253d3e63
commit
4491fb4b40
@ -162,6 +162,8 @@ class AboutPage extends ConsumerWidget {
|
|||||||
data.insert(0, {
|
data.insert(0, {
|
||||||
'app_version': version,
|
'app_version': version,
|
||||||
'dart': Platform.version,
|
'dart': Platform.version,
|
||||||
|
'os': Platform.operatingSystem,
|
||||||
|
'os_version': Platform.operatingSystemVersion,
|
||||||
});
|
});
|
||||||
final text = const JsonEncoder.withIndent(' ').convert(data);
|
final text = const JsonEncoder.withIndent(' ').convert(data);
|
||||||
await ref.read(clipboardProvider).setText(text);
|
await ref.read(clipboardProvider).setText(text);
|
||||||
|
Loading…
Reference in New Issue
Block a user