Settings window: Add interaction mode and tab focus state

This commit is contained in:
Scott Nonnenberg 2021-10-27 17:05:56 -07:00 committed by GitHub
parent d7edbabd48
commit 6dd67917e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 85 additions and 50 deletions

View file

@ -15,6 +15,7 @@ import {
} from '../../types/SystemTraySetting';
import { awaitObject } from '../../util/awaitObject';
import { createSetting, createCallback } from '../../util/preload';
import { startInteractionMode } from '../startInteractionMode';
function doneRendering() {
ipcRenderer.send('settings-done-rendering');
@ -124,6 +125,8 @@ function getSystemTraySettingValues(
}
const renderPreferences = async () => {
startInteractionMode();
const {
blockedCount,
deviceName,