Skip to content

Commit 138cf62

Browse files
committed
fix: instance duplication issue with web impl
1 parent 6cd123f commit 138cf62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web_callkit_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class WebCallkitWeb extends WebCallkitPlatform {
4141
static WebCallkitWeb get instance => _instance;
4242

4343
static void registerWith(Registrar registrar) {
44-
WebCallkitPlatform.instance = WebCallkitWeb._internal();
44+
WebCallkitPlatform.instance = _instance;
4545
}
4646

4747
final Map<String, CallTimer> _timers = {};

0 commit comments

Comments
 (0)