fix connect method override

This commit is contained in:
bwees 2025-05-28 10:30:33 -05:00
parent 33c005edf0
commit caab266a84
No known key found for this signature in database

View File

@ -122,7 +122,8 @@ class GCastService implements ICastDestinationService {
} }
} }
Future<void> connect(CastDevice device) async { @override
Future<void> connect(dynamic device) async {
await _gCastRepository.connect(device); await _gCastRepository.connect(device);
onReceiverName?.call(device.extras["fn"] ?? "Google Cast"); onReceiverName?.call(device.extras["fn"] ?? "Google Cast");