diff --git a/android/index.html b/android/index.html index cf267fc..ea4f69b 100644 --- a/android/index.html +++ b/android/index.html @@ -52,5 +52,5 @@ - + diff --git a/css/skeleton.css b/css/skeleton.css index 8f6b14e..2152460 100644 --- a/css/skeleton.css +++ b/css/skeleton.css @@ -121,6 +121,7 @@ are based on 10px sizing. So basically 1.5rem = 15px :) */ html { font-size: 62.5%; } body { + min-height: 800px; font-size: 1.6em; /* currently ems cause chrome bug misinterpreting rems on body element */ line-height: 1.6; font-weight: 400; diff --git a/js/tipjar.js b/js/tipjar.js index bbcb83e..e06837f 100644 --- a/js/tipjar.js +++ b/js/tipjar.js @@ -12,7 +12,7 @@ async function make_request(method, rune, params) { } function fetch_tipjar_summary() { - const rune = "b3Xsg2AS2cknHYa6H94so7FAVQVdnRSP6Pv-1WOQEBc9NCZtZXRob2Q9b2ZmZXItc3VtbWFyeQ==" + const rune = "5sgpXcVRMy19h2Ai9LiklJ7jI_J3qNnnG36wvyViqR49OTQmbWV0aG9kPW9mZmVyLXN1bW1hcnkmcG5hbWVkZXNjcmlwdGlvbj1AZGFtdXMtYW5kcm9pZCZwbmFtZWxpbWl0PTU=" return make_request("offer-summary", rune, { offerid: "2043536dfec68d559102f73510927622812a230cfdda079e96fccbfe35a96d11", description: "@damus-android", @@ -24,7 +24,7 @@ function make_invoice(description) { const rune = "LZwGZJO7wZgmoScFQb5reZ0Ii8qPKCeUfTb-UcbDxWw9MTImbWV0aG9kPWludm9pY2U=" description = (description && `${description} @damus-android`) || "@damus-android donation" return make_request("invoice", rune, { - msatoshi: "any", + amount_msat: "any", label: `damus-android-${new Date().getTime()}`, description: description }) @@ -122,7 +122,7 @@ function render_tip(tip) { let note = tip.payer_note ? tip.payer_note : (tip.description || "Anonymous") note = note.replace("@damus-android", "") - const amount = format_amount(tip.msatoshi / 1000) + const amount = format_amount(tip.amount_msat / 1000) const now = Math.floor(new Date().getTime() / 1000) const date = time_delta(now * 1000, tip.paid_at * 1000) diff --git a/key/index.html b/key/index.html index fb3e43a..1274066 100644 --- a/key/index.html +++ b/key/index.html @@ -13,7 +13,7 @@ - +