Skip to content

Commit e1fcefc

Browse files
committed
wip
1 parent dfc8c4c commit e1fcefc

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

ghcjs/delivery-calculator/lightning-verifier.cabal renamed to ghcjs/delivery-calculator/delivery-calculator.cabal

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 2.2
2-
name: lightning-verifier
3-
version: 0.1.0.2
4-
synopsis: Lightning Verifier
2+
name: delivery-calculator
3+
version: 0.1.0.1
4+
synopsis: Delivery Calculator
55
category: Web
66
build-type: Simple
77

@@ -10,8 +10,8 @@ flag ghcid
1010
default: False
1111

1212
common pkg
13-
other-modules: Paths_lightning_verifier
14-
autogen-modules: Paths_lightning_verifier
13+
other-modules: Paths_delivery_calculator
14+
autogen-modules: Paths_delivery_calculator
1515
default-language: Haskell2010
1616
hs-source-dirs: src
1717

@@ -122,7 +122,7 @@ common pkg
122122
ghc-options:
123123
-no-hs-main -optl-mexec-model=reactor "-optl-Wl,--export=hs_start"
124124

125-
executable lightning-verifier
125+
executable delivery-calculator
126126
import: pkg
127127
main-is: Main.hs
128128
ghcjs-options: -dedupe
@@ -152,7 +152,7 @@ executable lightning-verifier
152152
if (flag(ghcid) && impl(ghc >=8.10.7))
153153
ghc-options: -Wno-unused-packages
154154

155-
test-suite lightning-verifier-test
155+
test-suite delivery-calculator-test
156156
import: pkg
157157
type: exitcode-stdio-1.0
158158
main-is: Spec.hs

ghcjs/delivery-calculator/src/App/Types.hs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import Functora.Miso.Prelude
3636
import Functora.Miso.Types as X
3737
import Functora.Money hiding (Currency, Money, Text)
3838
import qualified Functora.Prelude as Prelude
39-
import qualified Paths_lightning_verifier as Paths
39+
import qualified Paths_delivery_calculator as Paths
4040
import qualified Text.URI as URI
4141

4242
data Model = Model
@@ -270,7 +270,7 @@ baseUri =
270270
"http://localhost:8080"
271271
#else
272272
baseUri =
273-
"https://functora.github.io/apps/lightning-verifier/" <> vsn <> "/index.html"
273+
"https://functora.github.io/apps/delivery-calculator/" <> vsn <> "/index.html"
274274
#endif
275275

276276
setScreenPure :: Screen -> Model -> JSM Model
@@ -298,7 +298,7 @@ btc = CurrencyInfo (CurrencyCode "btc") mempty
298298
googlePlayLink :: URI
299299
googlePlayLink =
300300
either impureThrow id
301-
$ mkURI "https://play.google.com/apps/testing/com.functora.lightning_verifier"
301+
$ mkURI "https://play.google.com/apps/testing/com.functora.delivery_calculator"
302302

303303
testGroupLink :: URI
304304
testGroupLink =
@@ -314,15 +314,15 @@ sourceLink :: URI
314314
sourceLink =
315315
either impureThrow id
316316
$ mkURI
317-
"https://github.com/functora/functora.github.io/tree/master/ghcjs/lightning-verifier"
317+
"https://github.com/functora/functora.github.io/tree/master/ghcjs/delivery-calculator"
318318

319319
apkLink :: URI
320320
apkLink =
321321
either impureThrow id
322322
. URI.mkURI
323323
. from @Unicode @Text
324-
$ "https://github.com/functora/functora.github.io/releases/download/lightning-verifier-v"
324+
$ "https://github.com/functora/functora.github.io/releases/download/delivery-calculator-v"
325325
<> vsn
326-
<> "/lightning-verifier-v"
326+
<> "/delivery-calculator-v"
327327
<> vsn
328328
<> ".apk"

ghcjs/delivery-calculator/src/App/Widgets/Menu.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ menu st =
5757
. #stScreen
5858
.~ Converter
5959
]
60-
[ text "LN Verifier"
60+
[ text "Delivery Calculator"
6161
]
6262
],
6363
TopAppBar.section
@@ -88,7 +88,7 @@ menu st =
8888
( IconButton.config
8989
& IconButton.setOnClick
9090
( PushUpdate . Instant $ \next -> do
91-
Jsm.printCurrentPage "lightning-verifier"
91+
Jsm.printCurrentPage "delivery-calculator"
9292
pure next
9393
)
9494
& IconButton.setAttributes
@@ -151,7 +151,7 @@ menu st =
151151
]
152152
)
153153
$ if isQrCode sc
154-
then "LN Verifier"
154+
then "Delivery Calculator"
155155
else "QR"
156156
],
157157
Grid.mediumCell

ghcjs/delivery-calculator/static/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
function patch(x) {
33
document.getElementsByTagName("head")[0].appendChild(x);
44
}
5-
document.title = "Lightning Verifier";
5+
document.title = "Delivery Calculator";
66
var x0 = document.createElement("meta");
77
x0.name = "viewport";
88
x0.content = "width=device-width, initial-scale=1";

ghcjs/delivery-calculator/static/ghcjs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<meta name="description" content="Lightning Verifier" />
5+
<meta name="description" content="Delivery Calculator" />
66
<script language="javascript" src="all.js" defer="defer"></script>
77
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
88
<link

ghcjs/delivery-calculator/static/site.webmanifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Lightning Verifier",
3-
"short_name": "Lightning Verifier",
2+
"name": "Delivery Calculator",
3+
"short_name": "Delivery Calculator",
44
"icons": [
55
{
66
"src": "static/android-chrome-192x192.png",

ghcjs/delivery-calculator/trapeze.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
platforms:
22
android:
3-
appName: Lightning Verifier
4-
versionCode: 2
5-
versionName: 0.1.0.2
6-
packageName: com.functora.lightning_verifier
3+
appName: Delivery Calculator
4+
versionCode: 1
5+
versionName: 0.1.0.1
6+
packageName: com.functora.delivery_calculator
77
manifest:
88
- file: AndroidManifest.xml
99
target: manifest/application/activity

0 commit comments

Comments
 (0)