Merge branch 'main' into lower_limit

This commit is contained in:
Vishnu Mohandas 2024-01-22 12:53:17 +05:30 committed by GitHub
commit 5a7edcbc16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class EmbeddingsDB {
}
Future<void> clearTable() async {
await _isar.clear();
await _isar.writeTxn(() => _isar.clear());
}
Future<List<Embedding>> getAll(Model model) async {

View file

@ -91,7 +91,9 @@ class _MemoriesWidgetState extends State<MemoriesWidget> {
return SizedBox(
height: _maxHeight,
child: ListView.builder(
physics: const BouncingScrollPhysics(),
physics: const AlwaysScrollableScrollPhysics(
parent: BouncingScrollPhysics(),
),
scrollDirection: Axis.horizontal,
controller: _controller,
itemCount: collatedMemories.length,