Carry over incognito between chapter loads (in the url)

This commit is contained in:
Joseph Milazzo 2025-06-20 09:24:15 -05:00
parent ba14f47a96
commit 184fe6a1cd

View file

@ -266,13 +266,13 @@ export class ReaderService {
getQueryParamsObject(incognitoMode: boolean = false, readingListMode: boolean = false, readingListId: number = -1) { getQueryParamsObject(incognitoMode: boolean = false, readingListMode: boolean = false, readingListId: number = -1) {
let params: {[key: string]: any} = {}; const params: {[key: string]: any} = {};
if (incognitoMode) { params['incognitoMode'] = incognitoMode;
params['incognitoMode'] = true;
}
if (readingListMode) { if (readingListMode) {
params['readingListId'] = readingListId; params['readingListId'] = readingListId;
} }
return params; return params;
} }