This commit is contained in:
v7lin
2021-02-01 22:49:11 +08:00
parent 639dc1b10b
commit 8489b41e34

View File

@ -28,7 +28,7 @@ class Home extends StatefulWidget {
class _HomeState extends State<Home> {
static const String _TENCENT_APPID = 'your tencent appId';
Tencent _tencent = Tencent()..registerApp(appId: _TENCENT_APPID);
final Tencent _tencent = Tencent()..registerApp(appId: _TENCENT_APPID);
StreamSubscription<TencentLoginResp> _login;
StreamSubscription<TencentShareResp> _share;