diff --git a/app/views/SettingsView/index.js b/app/views/SettingsView/index.js index 17bddd4f8..ba3d7c9a0 100644 --- a/app/views/SettingsView/index.js +++ b/app/views/SettingsView/index.js @@ -160,8 +160,16 @@ class SettingsView extends React.Component { } shareApp = () => { - // eslint-disable-next-line no-nested-ternary - Share.share({ message: isAndroid ? (!isFDroidBuild ? PLAY_MARKET_LINK : FDROID_MARKET_LINK) : APP_STORE_LINK }); + let message; + if (isAndroid) { + message = PLAY_MARKET_LINK; + if (isFDroidBuild) { + message = FDROID_MARKET_LINK; + } + } else { + message = APP_STORE_LINK; + } + Share.share({ message }); } copyServerVersion = () => {