don't check new version on Linux to prevent network error

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2018-10-15 18:06:45 +02:00
parent 547f8b0713
commit 1c99df5343
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
(ns status-im.ui.components.desktop.events
(:require [status-im.utils.handlers :as handlers]))
(:require [status-im.utils.handlers :as handlers]
[status-im.utils.platform :as platform]))
(handlers/register-handler-fx
:show-desktop-tab
@ -8,7 +9,8 @@
:dispatch [:navigate-to (if (and (= tab-name :home) (:current-chat-id db))
:chat
:home)]}
(when (= tab-name :profile)
(when (and platform/isMacOs?
(= tab-name :profile))
{:http-get
{:url
"https://raw.githubusercontent.com/status-im/status-im.github.io/develop/env.sh"