allow users to disable third party notice
This commit is contained in:
parent
a7bb23060b
commit
d7c986a001
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
import { quadInOut } from "svelte/easing";
|
||||
import { maybeFly, maybeFlyIf } from "../animations";
|
||||
import { getItem } from "../storage";
|
||||
import { channels, gatewayStatus, overlayStore, selectedChannel, showSidebar, smallViewport, userInfoStore, unreadStore, OverlayType, thirdPartyServicePresenceStore } from "../stores";
|
||||
import ThirdPartyNotice from "./overlays/ThirdPartyNotice.svelte";
|
||||
import UserTopBar from "./UserTopBar.svelte";
|
||||
|
@ -44,7 +45,7 @@
|
|||
<span class="sidebar-button-text">Settings</span>
|
||||
</button>
|
||||
</div>
|
||||
{#if $thirdPartyServicePresenceStore}
|
||||
{#if $thirdPartyServicePresenceStore && getItem("ui:showThirdPartyNotice")}
|
||||
<div class="top-bar darker">
|
||||
<span class="material-icons-outlined">cloud</span>
|
||||
<span class="text-small top-bar-heading">some third party services may have additional terms</span>
|
||||
|
|
|
@ -11,6 +11,7 @@ const defaults = {
|
|||
"ui:stateful:presistSelectedChannel": true,
|
||||
"ui:showSidebarToggle": false,
|
||||
"ui:alwaysUseMobileChatBar": false,
|
||||
"ui:showThirdPartyNotice": true,
|
||||
"ui:online:processRemoteTypingEvents": true,
|
||||
"ui:online:processRemotePresenceEvents": true,
|
||||
"ui:online:loadMessageHistory": true,
|
||||
|
|
Loading…
Reference in a new issue