refactor: rename android overview fields

This commit is contained in:
tglide committed 2022-12-07 18:09:42 +00:00
1 parent e5f5e370fe
commit a14a60fe50
1 file changed
+6 -6
@@ -10,10 +10,10 @@
import { project } from '../../../store';
import { platform } from './store';
let packageName: string = null;
let key: string = null;
onMount(() => {
packageName ??= $platform.key;
key ??= $platform.key;
});
const updateHostname = async () => {
@@ -22,7 +22,7 @@
$project.$id,
$platform.$id,
$platform.name,
packageName,
key,
$platform.store,
$platform.hostname
);
@@ -52,16 +52,16 @@
<svelte:fragment slot="aside">
<FormList>
<InputText
id="packageName"
id="key"
label="Package Name"
bind:value={packageName}
bind:value={key}
required
placeholder="com.company.appname" />
</FormList>
</svelte:fragment>
<svelte:fragment slot="actions">
<Button disabled={packageName === $platform.hostname} submit>Update</Button>
<Button disabled={key === $platform.hostname} submit>Update</Button>
</svelte:fragment>
</CardGrid>
</Form>