removed unused comments
This commit is contained in:
parent
9c4e9cb42b
commit
50ee5f9f0f
@ -1,9 +1,3 @@
|
|||||||
//import "/style/output.css";
|
|
||||||
|
|
||||||
//import { updateFiatToSatsConversion } from "./viewFiatToSats";
|
|
||||||
//import { updateBitcoinPrice, refreshBitcoinPrice } from "./viewBitcoinPrice";
|
|
||||||
//import { updateSatsToDollarsConversion } from "./calcSatsToFiat";
|
|
||||||
|
|
||||||
function updateBitcoinPrice(selectedCurrency) {
|
function updateBitcoinPrice(selectedCurrency) {
|
||||||
fetch(`https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=${selectedCurrency}`)
|
fetch(`https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=${selectedCurrency}`)
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
|
@ -39,11 +39,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
val assetManager = assets
|
val assetManager = assets
|
||||||
val scriptFiles = listOf(
|
val scriptFiles = listOf(
|
||||||
"js/main.js",
|
"js/main.js",
|
||||||
//"scripts/selectTheme.js",
|
|
||||||
//"scripts/viewBitcoinPrice.js",
|
|
||||||
//"scripts/viewFiatToSats.js",
|
|
||||||
//"scripts/selectCurrency.js",
|
|
||||||
//"scripts/calcSatsToFiat.js"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
val scriptContents = scriptFiles.map { fileName ->
|
val scriptContents = scriptFiles.map { fileName ->
|
||||||
@ -57,15 +52,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
val cssFiles = listOf(
|
val cssFiles = listOf(
|
||||||
"style/output.css"
|
"style/output.css"
|
||||||
//"themes/Dark.css",
|
|
||||||
//"themes/Midnight.css",
|
|
||||||
//"themes/Lava.css",
|
|
||||||
//"themes/Solar.css",
|
|
||||||
//"styles/settings.css",
|
|
||||||
//"styles/bitcoinPrice.css",
|
|
||||||
//"styles/exchange.css",
|
|
||||||
//"styles/fiatToSats.css",
|
|
||||||
//"styles/satsToFiat.css"
|
|
||||||
) // List of your CSS files
|
) // List of your CSS files
|
||||||
|
|
||||||
val cssCode = cssFiles.joinToString("\n") { fileName ->
|
val cssCode = cssFiles.joinToString("\n") { fileName ->
|
||||||
|
Loading…
Reference in New Issue
Block a user