diff --git a/lib/src/model/config.dart b/lib/src/model/config.dart index dfe1c55..7000d5a 100644 --- a/lib/src/model/config.dart +++ b/lib/src/model/config.dart @@ -29,7 +29,7 @@ typedef SpinifyTokenCallback = FutureOr Function(); typedef SpinifyConnectionPayloadCallback = FutureOr?> Function(); /// Log level for logger -extension type const SpinifyLogLevel._(int level) { +extension type const SpinifyLogLevel._(int level) implements int { /// Log level: debug @literal const SpinifyLogLevel.debug() : level = 0; diff --git a/lib/src/spinify_impl.dart b/lib/src/spinify_impl.dart index c69eafe..099103b 100644 --- a/lib/src/spinify_impl.dart +++ b/lib/src/spinify_impl.dart @@ -498,6 +498,7 @@ base mixin SpinifyConnectionMixin Future _onDisconnected() async { _refreshTimer?.cancel(); _transport = null; + // TODO(plugfox): reconnect await super._onDisconnected(); }