Skip to content

Commit

Permalink
App changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gades committed Jun 11, 2019
1 parent 36e7e3c commit 5305147
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 25 deletions.
22 changes: 6 additions & 16 deletions app/branding.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function getWalletName() {
* @returns {string}
*/
export function getWalletURL() {
return "https://wallet.bitshares.org";
return "https://wallet.piratecash.net";
}

/**
Expand Down Expand Up @@ -95,7 +95,7 @@ export function getUnits() {
*/

export function getMyMarketsBases() {
return ["PIRATE.BTC","PIRATE.DOGE","BTS"];
return ["PIRATE.BTC", "PIRATE.DOGE", "BTS"];
}

/**
Expand All @@ -112,11 +112,7 @@ export function getMyMarketsQuotes() {
rudexTokens: [],
sparkTokens: [],
xbtsxTokens: [],
otherTokens: [
"PIRATE.PIRATE",
"PIRATE.BTC",
"PIRATE.DOGE",
]
otherTokens: ["PIRATE.PIRATE", "PIRATE.BTC", "PIRATE.DOGE"]
};

let allTokens = [];
Expand All @@ -138,7 +134,7 @@ export function getFeaturedMarkets(quotes = []) {
["PIRATE.BTC", "PIRATE.DOGE"],
["BTS", "PIRATE.PIRATE"],
["BTS", "PIRATE.BTC"],
["BTS", "PIRATE.DOGE"],
["BTS", "PIRATE.DOGE"]
].filter(a => {
if (!quotes.length) return true;
return quotes.indexOf(a[0]) !== -1;
Expand All @@ -151,9 +147,7 @@ export function getFeaturedMarkets(quotes = []) {
* @returns {[string,string,string,string,string,string,string]}
*/
export function getAssetNamespaces() {
return [
"PIRATE.",
];
return ["PIRATE."];
}

/**
Expand All @@ -171,11 +165,7 @@ export function getAssetHideNamespaces() {
* @returns {boolean}
*/
export function allowedGateway(gateway) {
return (
[
"PIRATE",
].indexOf(gateway) >= 0
);
return ["PIRATE"].indexOf(gateway) >= 0;
}

export function getSupportedLanguages() {
Expand Down
6 changes: 3 additions & 3 deletions app/components/Layout/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Footer extends React.Component {
componentDidMount() {
this.checkNewVersionAvailable.call(this);

this.downloadLink = "https://bitshares.org/download";
this.downloadLink = "https://piratecash.net/dex/download";

let ensure = this._ensureConnectivity.bind(this);
ifvisible.on("wakeup", function() {
Expand Down Expand Up @@ -111,7 +111,7 @@ class Footer extends React.Component {
checkNewVersionAvailable() {
if (__ELECTRON__) {
fetch(
"https://api.github.com/repos/bitshares/bitshares-ui/releases/latest"
"https://api.github.com/repos/piratecash/pirate-dex/releases/latest"
)
.then(res => {
return res.json();
Expand Down Expand Up @@ -489,7 +489,7 @@ class Footer extends React.Component {
/>
{__GIT_BRANCH__ === "staging" ? (
<a
href={`https://github.com/bitshares/bitshares-ui/commit/${version.trim()}`}
href={`https://github.com/piratecash/pirate-dex/commit/${version.trim()}`}
className="version external-link"
target="_blank"
rel="noopener noreferrer"
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "BitShares2-light",
"version": "3.1.190618-rc1",
"name": "PirateDEX2-light",
"version": "3.1.190618",
"description": "Reference UI to showcase all features of the BitShares blockchain.",
"homepage": "https://github.com/bitshares/bitshares-ui",
"homepage": "https://github.com/piratecash/pirate-dex",
"author": "BitShares UI Worker <ui-dev@bitshares.org>",
"contributors": [
"Dmitriy Korniychuk",
"Sigve Kvalsvik <kvalsvik.crypto@gmail.com>",
"James Calfee",
"Dan Larimer",
Expand All @@ -18,7 +19,7 @@
},
"repository": {
"type": "git",
"url": "git://github.com/bitshares/bitshares-ui"
"url": "https://github.com/piratecash/pirate-dex"
},
"main": "build/electron/index.js",
"scripts": {
Expand Down Expand Up @@ -86,8 +87,8 @@
},
"browsersList": "electron 1.7",
"build": {
"productName": "BitShares",
"appId": "org.bitshares.graphene",
"productName": "PirateDEX",
"appId": "net.piratecash.graphene",
"files": [
"build/electron",
"!node_modules"
Expand Down

0 comments on commit 5305147

Please sign in to comment.