bugfix
This commit is contained in:
parent
76189ad26d
commit
c03c286333
@ -42,14 +42,14 @@ class Home extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _HomeState extends State<Home> {
|
class _HomeState extends State<Home> {
|
||||||
late final StreamSubscription<BaseResp> _respSubs =
|
late final StreamSubscription<BaseResp> _respSubs;
|
||||||
Weibo.instance.respStream().listen(_listenResp);
|
|
||||||
|
|
||||||
AuthResp? _authResp;
|
AuthResp? _authResp;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
|
_respSubs = Weibo.instance.respStream().listen(_listenResp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _listenResp(BaseResp resp) {
|
void _listenResp(BaseResp resp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user