UI to clarify how to enable Control by mobile apps in the web app
This commit is contained in:
1 parent
657b6c9818
commit
980781c453
2 files changed
+18
No files matched your search
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Compression (gzip) to static web app files. Reduces app size significantly
|
- Compression (gzip) to static web app files. Reduces app size significantly
|
||||||
|
- UI to clarify how to enable `Control by mobile apps` in the web app
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,19 @@
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showRemoteNotWorkingDialog() {
|
||||||
|
// show dialog with instructions
|
||||||
|
let content = `If the remote control is not working, please check your device settings. Go to:
|
||||||
|
- Settings
|
||||||
|
- System
|
||||||
|
- Advanced System Settings
|
||||||
|
- Control by mobile apps
|
||||||
|
- Network access
|
||||||
|
And set it to "Enabled".`;
|
||||||
|
|
||||||
|
alert(content);
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div bind:this={screen} tabindex="-1" class={visibility ? "" : "hidden"}>
|
<div bind:this={screen} tabindex="-1" class={visibility ? "" : "hidden"}>
|
||||||
@@ -144,5 +157,9 @@
|
|||||||
<RemoteButton key={BUTTONS.volumeDown} icon={VolumeDownIcon} small />
|
<RemoteButton key={BUTTONS.volumeDown} icon={VolumeDownIcon} small />
|
||||||
<RemoteButton key={BUTTONS.volumeUp} icon={VolumeUpIcon} small />
|
<RemoteButton key={BUTTONS.volumeUp} icon={VolumeUpIcon} small />
|
||||||
</div>
|
</div>
|
||||||
|
<button
|
||||||
|
on:click={showRemoteNotWorkingDialog}
|
||||||
|
class="btn btn-xs btn-accent m-4">Remote not working?</button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in new issue
Block a user