mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-06 13:54:01 +00:00
don't check new version on Linux to prevent network error
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
547f8b0713
commit
1c99df5343
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user