Fix login issue
This commit is contained in:
parent
1583d50805
commit
125c78d9d2
3 changed files with 5 additions and 3 deletions
|
|
@ -15,7 +15,9 @@ class ClientController extends AsyncNotifier<Client> {
|
|||
bool updateShouldNotify(
|
||||
AsyncValue<Client> previous,
|
||||
AsyncValue<Client> next,
|
||||
) => previous.hasValue != next.hasValue;
|
||||
) =>
|
||||
previous.hasValue != next.hasValue ||
|
||||
previous.value?.accessToken != next.value?.accessToken;
|
||||
static const sessionBackupKey = "sessionBackup";
|
||||
|
||||
@override
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ class MentionOverlay extends ConsumerWidget {
|
|||
title: Text(room.title),
|
||||
subtitle: room.roomData.topic.isEmpty
|
||||
? null
|
||||
: Text(room.roomData.topic),
|
||||
: Text(room.roomData.topic, maxLines: 1),
|
||||
onTap: () => addTag(
|
||||
id: "[#${room.roomData.getLocalizedDisplayname()}](https://matrix.to/#/${room.roomData.id})",
|
||||
name:
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class RoomAppbar extends StatelessWidget implements PreferredSizeWidget {
|
|||
title: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(room.title, overflow: TextOverflow.ellipsis),
|
||||
Text(room.title, overflow: TextOverflow.ellipsis, maxLines: 1),
|
||||
if (room.roomData.topic.isNotEmpty)
|
||||
Text(
|
||||
room.roomData.topic,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue