update share app
This commit is contained in:
parent
cad8184e03
commit
16752aadad
|
@ -160,8 +160,16 @@ class SettingsView extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
shareApp = () => {
|
shareApp = () => {
|
||||||
// eslint-disable-next-line no-nested-ternary
|
let message;
|
||||||
Share.share({ message: isAndroid ? (!isFDroidBuild ? PLAY_MARKET_LINK : FDROID_MARKET_LINK) : APP_STORE_LINK });
|
if (isAndroid) {
|
||||||
|
message = PLAY_MARKET_LINK;
|
||||||
|
if (isFDroidBuild) {
|
||||||
|
message = FDROID_MARKET_LINK;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
message = APP_STORE_LINK;
|
||||||
|
}
|
||||||
|
Share.share({ message });
|
||||||
}
|
}
|
||||||
|
|
||||||
copyServerVersion = () => {
|
copyServerVersion = () => {
|
||||||
|
|
Loading…
Reference in New Issue