posibles fiexes

This commit is contained in:
Abraham
2026-01-15 20:56:31 -08:00
parent 405c40d0b5
commit ec5c62a64b
8 changed files with 15 additions and 143 deletions

View File

@@ -14,6 +14,7 @@ class VideosProvider extends ChangeNotifier {
// ========== STATE MANAGEMENT ==========
PlutoGridStateManager? stateManager;
List<PlutoRow> videosRows = [];
int gridRebuildKey = 0; // Key for forcing PlutoGrid rebuild
// ========== DATA LISTS ==========
List<MediaFileModel> mediaFiles = [];
@@ -755,6 +756,7 @@ class VideosProvider extends ChangeNotifier {
void searchVideos(String query) {
if (query.isEmpty) {
_buildPlutoRows();
gridRebuildKey++;
notifyListeners();
return;
}
@@ -789,6 +791,7 @@ class VideosProvider extends ChangeNotifier {
);
}
gridRebuildKey++;
notifyListeners();
}