removed useless getConfig call (#6167)

This commit is contained in:
Avinash Lingaloo 2022-04-12 17:25:17 +04:00 committed by GitHub
parent 9d88099ac5
commit b4b5c80629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,6 @@ export const getThreadById = async (database: Database, threadId: string) => {
};
export const observeIsCRTEnabled = (database: Database) => {
getConfig(database);
const config = observeConfig(database);
const preferences = queryPreferencesByCategoryAndName(database, Preferences.CATEGORY_DISPLAY_SETTINGS).observe();
return combineLatest([config, preferences]).pipe(