Manual download of attachments with no blurHash

This commit is contained in:
Josh Perez 2021-02-11 20:50:11 -05:00 committed by GitHub
parent ed786898fb
commit 34285054f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 117 additions and 32 deletions

View file

@ -3,7 +3,7 @@
import { createSelector } from 'reselect';
import { LocalizerType } from '../../types/Util';
import { LocalizerType, ThemeType } from '../../types/Util';
import { StateType } from '../reducer';
import { UserStateType } from '../ducks/user';
@ -59,3 +59,8 @@ export const getTempPath = createSelector(
getUser,
(state: UserStateType): string => state.tempPath
);
export const getTheme = createSelector(
getUser,
(state: UserStateType): ThemeType => state.theme
);