add subtitle

This commit is contained in:
Adam Velebil 2022-11-30 08:39:56 +01:00
parent 20c703b084
commit 757b8aba6b
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084

View File

@ -163,7 +163,11 @@ class _AndroidSettingsPageState extends ConsumerState<AndroidSettingsPage> {
}),
const ListTitle('USB options'),
SwitchListTile(
title: const Text('Open application when YubiKey is connected'),
title: const Text('Launch when YubiKey is connected'),
subtitle: usbOpenApp
? const Text(
'This prevents other apps from using the YubiKey over USB')
: const Text('Other apps can use the YubiKey over USB.'),
value: usbOpenApp,
key: keys.usbOpenApp,
onChanged: (value) {