Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h-akatsuki committed Dec 27, 2024
1 parent cd0d2ef commit e404b99
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 214 deletions.
4 changes: 2 additions & 2 deletions lib/db/bookmark.dart
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ class Bookmark extends _$Bookmark {
final ids = state.map((e) => e.id).toList();
final queries = state.map((e) => e.searchBuilder).toList();
final len = ids.length;
for (var i = 0; i < len; i += 10) {
final end = min(i + 10, len);
for (var i = 0; i < len; i += 50) {
final end = min(i + 50, len);
final subIds = ids.sublist(i, end);
final subQueries = queries.sublist(i, end);
try {
Expand Down
2 changes: 1 addition & 1 deletion macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import FlutterMacOS
import Foundation

import path_provider_foundation
import sqflite
import sqflite_darwin
import sqlite3_flutter_libs
import url_launcher_macos

Expand Down
Loading

0 comments on commit e404b99

Please sign in to comment.