Merge pull request #63 from yaso-meth/QOL-Chat-Ai-bugs

typing fix
This commit is contained in:
yaso-meth
2025-01-29 20:35:36 +02:00
committed by GitHub

View File

@@ -84,13 +84,12 @@ class _MIHProfileGetterState extends State<MIHProfileGetter> {
@override
void initState() {
//profile = getProfile();
profile = MIHApiCalls().getProfile(amount);
super.initState();
}
@override
Widget build(BuildContext context) {
profile = MIHApiCalls().getProfile(amount);
return FutureBuilder(
future: profile,
builder: (BuildContext context, snapshot) {