Skip to content

Commit

Permalink
Improved timing of QR display, bumped up app version to v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joemarct committed Mar 23, 2024
1 parent b2a4a9c commit c0fd3d1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paytaca-pos",
"version": "0.2.0",
"version": "0.2.1",
"description": "Point-of-Sale system with inventory for Bitcoin Cash-accepting merchants",
"productName": "Paytaca POS",
"author": "joemar@paytaca.com",
Expand Down
4 changes: 2 additions & 2 deletions src-capacitor/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.paytaca.pos"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 8
versionName "v0.2.0"
versionCode 9
versionName "v0.2.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions src-capacitor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-capacitor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paytaca-pos",
"version": "0.2.0",
"version": "0.2.1",
"description": "Point-of-Sale system with inventory for Bitcoin Cash-accepting merchants",
"author": "joemar@paytaca.com",
"private": true,
Expand Down
22 changes: 12 additions & 10 deletions src/pages/ReceivePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,22 @@
v-ripple
@click="copyText(qrData, 'Copied payment URI')"
>
<div v-if="loading"><q-skeleton height="200px" width="200px" /></div>
<div v-if="paid" class="bg-dark">
<img src="~assets/success-check.gif" height="200" />
</div>
<template v-else>
<img src="~assets/bch-logo.png" height="50" class="qr-code-icon"/>
<QRCode
:text="qrData"
color="#253933"
:size="200"
error-level="H"
class="q-mb-sm"
:style="qrData ? '' : 'opacity:0;'"
/>
<div v-if="!websocketsReady" class="bg-dark"><q-skeleton height="200px" width="200px" /></div>
<template v-else>
<img src="~assets/bch-logo.png" height="50" class="qr-code-icon"/>
<QRCode
:text="qrData"
color="#253933"
:size="200"
error-level="H"
class="q-mb-sm"
:style="qrData ? '' : 'opacity:0;'"
/>
</template>
</template>
</div>
</div>
Expand Down

0 comments on commit c0fd3d1

Please sign in to comment.