mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-25 07:41:32 +01:00
replace Error with UnimplementedError
This commit is contained in:
parent
bf5d8b4db6
commit
6e5e48d05f
@ -96,7 +96,7 @@ class _SearchResultsList extends HookWidget {
|
||||
case SearchType.users:
|
||||
return s.users;
|
||||
default:
|
||||
throw Error();
|
||||
throw UnimplementedError();
|
||||
}
|
||||
},
|
||||
builder: (data) {
|
||||
@ -116,7 +116,7 @@ class _SearchResultsList extends HookWidget {
|
||||
case SearchType.users:
|
||||
return UsersListItem(user: data as UserView);
|
||||
default:
|
||||
throw Error();
|
||||
throw UnimplementedError();
|
||||
}
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user