fix: Show device name in account information correctly
This commit is contained in:
parent
1d5607f9c5
commit
468c2587aa
|
@ -4,6 +4,7 @@
|
|||
- Add ability to manage emote packs with different state keys
|
||||
### Fixes
|
||||
- Fix amoled / theme settings not always saving properly
|
||||
- Show device name in account information correctly
|
||||
|
||||
# Version 0.19.0 - 2020-09-21
|
||||
### Features
|
||||
|
|
|
@ -37,7 +37,9 @@ class AppInfo extends StatelessWidget {
|
|||
),
|
||||
ListTile(
|
||||
title: Text('Device name:'),
|
||||
subtitle: Text(client.deviceName),
|
||||
subtitle: Text(client.userDeviceKeys[client.userID]
|
||||
?.deviceKeys[client.deviceID]?.deviceDisplayName ??
|
||||
L10n.of(context).unknownDevice),
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Device ID:'),
|
||||
|
|
Loading…
Reference in a new issue