summaryrefslogtreecommitdiff
path: root/app/ui/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/ui/settings.php')
-rw-r--r--app/ui/settings.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/ui/settings.php b/app/ui/settings.php
index 26217f0..4897f06 100644
--- a/app/ui/settings.php
+++ b/app/ui/settings.php
@@ -251,7 +251,12 @@
<hr>
<?php if (str_contains($_SERVER['HTTP_USER_AGENT'], "MistNative/")): ?>
- <a onclick="window.parent.MistNative.about();" href="#">About Mist</a>
+ <a onclick="window.parent.MistNative.about();" href="#">About Mist</a><span id="studio" style="display: none;"> ยท <a onclick="window.parent.MistNative.studio();" href="#">Switch to Mist Studio</a></span>
+ <script>
+ if (window.parent.MistNative.studio) {
+ document.getElementById("studio").style.display = "";
+ }
+ </script>
<?php else: ?>
<div class="text-muted">
<img class="icon" src="/assets/logo-transparent.svg" style="vertical-align: middle; filter: grayscale(1) invert(1); width: 32px; height: 32px;" alt="">