Merge branch 'soru/fix-device-name' into 'main'

fix: Show device name in account information correctly

Closes #170

See merge request ChristianPauly/fluffychat-flutter!207
This commit is contained in:
Christian Pauly 2020-10-06 15:44:02 +00:00
commit bd1508c545
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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:'),