[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 10/10: dd53: 20 days is odd, Android has 30 days ins
From: |
gnunet |
Subject: |
[taler-wallet-core] 10/10: dd53: 20 days is odd, Android has 30 days instead |
Date: |
Fri, 12 Apr 2024 18:28:58 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 9b0aef33399afa664646715eb4286e3bc0e38fdc
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Apr 12 13:23:39 2024 -0300
dd53: 20 days is odd, Android has 30 days instead
---
.../src/cta/InvoiceCreate/views.tsx | 14 +++++---------
.../src/cta/TransferCreate/views.tsx | 8 ++++----
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
index fa7127fc0..e2c37fbba 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
@@ -18,13 +18,9 @@ import { useTranslationContext } from
"@gnu-taler/web-util/browser";
import { format } from "date-fns";
import { Fragment, h, VNode } from "preact";
import { Part } from "../../components/Part.js";
-import {
- SvgIcon
-} from "../../components/styled/index.js";
import { TermsOfService } from "../../components/TermsOfService/index.js";
import { Button } from "../../mui/Button.js";
import { TextField } from "../../mui/TextField.js";
-import editIcon from "../../svg/edit_24px.inline.svg";
import {
ExchangeDetails,
getAmountWithFee,
@@ -39,7 +35,7 @@ export function ReadyView({
create,
toBeReceived,
requestAmount,
- doSelectExchange,
+ doSelectExchange: _doSelectExchange,
}: State.Ready): VNode {
const { i18n } = useTranslationContext();
@@ -58,10 +54,10 @@ export function ReadyView({
);
}
}
- async function _20DaysExpiration(): Promise<void> {
+ async function _30DaysExpiration(): Promise<void> {
if (expiration.onInput) {
expiration.onInput(
- format(new Date().getTime() + 1000 * 60 * 60 * 24 * 20, "dd/MM/yyyy"),
+ format(new Date().getTime() + 1000 * 60 * 60 * 24 * 30, "dd/MM/yyyy"),
);
}
}
@@ -131,9 +127,9 @@ export function ReadyView({
<Button
variant="outlined"
disabled={!expiration.onInput}
- onClick={_20DaysExpiration}
+ onClick={_30DaysExpiration}
>
- 20 days
+ 30 days
</Button>
</p>
</p>
diff --git
a/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
b/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
index 8489b0643..bc855f33d 100644
--- a/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
@@ -50,10 +50,10 @@ export function ReadyView({
);
}
}
- async function _20DaysExpiration() {
+ async function _30DaysExpiration() {
if (expiration.onInput) {
expiration.onInput(
- format(new Date().getTime() + 1000 * 60 * 60 * 24 * 20, "dd/MM/yyyy"),
+ format(new Date().getTime() + 1000 * 60 * 60 * 24 * 30, "dd/MM/yyyy"),
);
}
}
@@ -100,9 +100,9 @@ export function ReadyView({
<Button
variant="outlined"
disabled={!expiration.onInput}
- onClick={_20DaysExpiration}
+ onClick={_30DaysExpiration}
>
- 20 days
+ 30 days
</Button>
</p>
</p>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-wallet-core] branch master updated (9bafc6864 -> 9b0aef333), gnunet, 2024/04/12
- [taler-wallet-core] 06/10: dd53: Button is labeled as "Add", while above says to use "Receive" which is a better dual with "Send"., gnunet, 2024/04/12
- [taler-wallet-core] 02/10: dd53: remove receipt id, gnunet, 2024/04/12
- [taler-wallet-core] 07/10: dd53: Deposits should use the receiver name of the payto-URI of the target account, gnunet, 2024/04/12
- [taler-wallet-core] 09/10: dd53: wire transfer subject is last, should be first -- PaytoURI should not be expanded on-screen, gnunet, 2024/04/12
- [taler-wallet-core] 08/10: dd53: Android has different order of items on top, gnunet, 2024/04/12
- [taler-wallet-core] 01/10: remove clear button, gnunet, 2024/04/12
- [taler-wallet-core] 04/10: show contract terms in dev mode, gnunet, 2024/04/12
- [taler-wallet-core] 03/10: dd53: showing price/total without fees is a bit excessive, could be simplified in absence of fees, gnunet, 2024/04/12
- [taler-wallet-core] 10/10: dd53: 20 days is odd, Android has 30 days instead,
gnunet <=
- [taler-wallet-core] 05/10: dd53: label balance in history, gnunet, 2024/04/12