change variable name
This commit is contained in:
parent
d5dfbd7aa4
commit
3a7b237765
5 changed files with 8 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { errorLogger } from '@strudel/core';
|
||||
import { useSettings, storeStartupScript } from '../../../settings.mjs';
|
||||
import { useSettings, storePrebakeScript } from '../../../settings.mjs';
|
||||
import { SpecialActionInput } from '../button/action-button';
|
||||
|
||||
async function importScript(script) {
|
||||
|
|
@ -8,7 +8,7 @@ async function importScript(script) {
|
|||
|
||||
reader.onload = () => {
|
||||
const text = reader.result;
|
||||
storeStartupScript(text);
|
||||
storePrebakeScript(text);
|
||||
};
|
||||
|
||||
reader.onerror = () => {
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ export function SettingsTab({ started }) {
|
|||
isTabIndentationEnabled,
|
||||
isMultiCursorEnabled,
|
||||
patternAutoStart,
|
||||
startupScript,
|
||||
prebakeScript,
|
||||
} = useSettings();
|
||||
const shouldAlwaysSync = isUdels();
|
||||
const canChangeAudioDevice = AudioContext.prototype.setSinkId != null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue