Merge commit '83490de6fd967ba8545d5960c0a6cebd410e0580' into merge
This commit is contained in:
commit
9efe214b6d
2 changed files with 4 additions and 3 deletions
|
|
@ -354,7 +354,7 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
if (timeline?.events.any((event) => event.eventId == fullyRead) ??
|
||||
false) {
|
||||
Logs().v('Scroll up to visible event', fullyRead);
|
||||
setReadMarker();
|
||||
scrollToEventId(fullyRead, highlightEvent: false);
|
||||
return;
|
||||
}
|
||||
if (!mounted) return;
|
||||
|
|
|
|||
|
|
@ -22,8 +22,9 @@ class SettingsIgnoreListController extends State<SettingsIgnoreList> {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
if (widget.initialUserId != null) {
|
||||
controller.text = widget.initialUserId!.replaceAll('@', '');
|
||||
final initialUserId = widget.initialUserId;
|
||||
if (initialUserId != null) {
|
||||
controller.text = initialUserId;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue