A set of fixes and upgrades
* writeToDownloads: Add missing await * Remove window.isFocused() - not used anywhere! * Update typescript, p-queue, make necessary changes to fix build * Slow down sender certificate retries with no existing cert * Slow down signed prekey refreshes when unlinked - 5s -> 5m * Update protobufjs to 4.1.2
This commit is contained in:
parent
38c7fa3da6
commit
3938eb9801
15 changed files with 4824 additions and 3975 deletions
|
@ -188,10 +188,6 @@ export class Lightbox extends React.Component<Props, State> {
|
|||
public readonly focusRef = React.createRef<HTMLDivElement>();
|
||||
public previousFocus: any;
|
||||
|
||||
public state = {
|
||||
videoTime: undefined,
|
||||
};
|
||||
|
||||
public componentDidMount() {
|
||||
this.previousFocus = document.activeElement;
|
||||
|
||||
|
@ -299,7 +295,7 @@ export class Lightbox extends React.Component<Props, State> {
|
|||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
{isViewOnce && is.number(videoTime) ? (
|
||||
{isViewOnce && videoTime && is.number(videoTime) ? (
|
||||
<div style={styles.navigationContainer}>
|
||||
<div style={styles.timestampPill}>{formatDuration(videoTime)}</div>
|
||||
</div>
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
} from './EmojiPicker';
|
||||
import { LocalizerType } from '../../types/Util';
|
||||
|
||||
export type EmojiPickDataType = EmojiPickDataType;
|
||||
export { EmojiPickDataType };
|
||||
|
||||
export type OwnProps = {
|
||||
readonly i18n: LocalizerType;
|
||||
|
|
|
@ -91,7 +91,7 @@ export const EmojiPicker = React.memo(
|
|||
|
||||
const debounceSearchChange = React.useMemo(
|
||||
() =>
|
||||
debounce(query => {
|
||||
debounce((query: string) => {
|
||||
setSearchText(query);
|
||||
setScrollToRow(0);
|
||||
}, 200),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue