Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions lib/cached_video_player_plus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,8 @@ class CachedVideoPlayerPlusController

/// Attempts to open the given [dataSource] and load metadata about the video.
Future<void> initialize() async {
await GetStorage.init(
'cached_video_player_plus',
);
final storage = GetStorage();
await GetStorage.init('cached_video_player_plus');
final storage = GetStorage('cached_video_player_plus');

late String realDataSource;
bool isCacheAvailable = false;
Expand Down