fix: Path correct userId to ignore list

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

View file

@ -22,8 +22,9 @@ class SettingsIgnoreListController extends State<SettingsIgnoreList> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
if (widget.initialUserId != null) { final initialUserId = widget.initialUserId;
controller.text = widget.initialUserId!.replaceAll('@', ''); if (initialUserId != null) {
controller.text = initialUserId;
} }
} }