fix: Path correct userId to ignore list

This commit is contained in:
krille-chan 2024-07-28 14:02:18 +02:00
parent 5f9aa94339
commit 83490de6fd
No known key found for this signature in database

View file

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