From 31e92292f140c1e1ee2c7f04e11ba90392f6dab9 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 30 Nov 2024 13:33:28 +0200 Subject: Fixed scanning buttons and the corresponding functions --- src/js/environment-setup.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/js/environment-setup.js') diff --git a/src/js/environment-setup.js b/src/js/environment-setup.js index b1eede8..923676c 100644 --- a/src/js/environment-setup.js +++ b/src/js/environment-setup.js @@ -22,7 +22,25 @@ export function getMixtapes() } var sortedMixtapes = new Array; +export function setSortedMixtapes(value) +{ + sortedMixtapes = value; +} +export function getSortedMixtapes() +{ + return sortedMixtapes; +} + var zchainsFound = 0; +export function getZchainsFound() +{ + return zchainsFound; +} +export function increaseZchainsFound() +{ + zchainsFound++; +} + var foundHolders = new Array; var gpglist = new Array; var stellarNetworkConfiguredAddresses = 0; @@ -100,6 +118,15 @@ export function getZchainLoadingStatuses() } var zchains = new Array; +export function getZchains() +{ + return zchains; +} +export function setZchain(zchain, value) +{ + zchains[zchain] = value; +} + var references = new Array; export function getReferences() { -- cgit v1.2.3