mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-13 04:46:08 -08:00
Fix Windows Anki startup and overlay regressions (#128)
This commit is contained in:
1 parent
aa8eb753f6
commit
70da3ee8bd
28 files changed
+1322
-47
No files matched your search
@@ -48,7 +48,7 @@ export function getKnownWordCacheScopeForConfig(config: AnkiConnectConfig): stri
|
||||
}
|
||||
|
||||
const configuredDeck = trimToNonEmptyString(config.deck);
|
||||
return configuredDeck ? `deck:${configuredDeck}` : 'is:note';
|
||||
return configuredDeck ? `deck:${configuredDeck}` : 'all';
|
||||
}
|
||||
|
||||
export function getKnownWordCacheLifecycleConfig(config: AnkiConnectConfig): string {
|
||||
@@ -396,7 +396,7 @@ export class KnownWordCacheManager {
|
||||
private buildKnownWordsQuery(): string {
|
||||
const decks = this.getKnownWordDecks();
|
||||
if (decks.length === 0) {
|
||||
return 'is:note';
|
||||
return '';
|
||||
}
|
||||
|
||||
if (decks.length === 1) {
|
||||
|
||||
Reference in new issue
Block a user