forked from Ivasoft/mattermost-mobile
removed useless getConfig call (#6167)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user