-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: separate create invoice screen from receive #224
base: master
Are you sure you want to change the base?
Conversation
import { errorToast } from "~/lib/errorToast"; | ||
import { useAppStore } from "~/lib/state/appStore"; | ||
|
||
export function CreateInvoice() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page does more than just creating an invoice, is there a better name for it?
@@ -77,92 +35,11 @@ export function Receive() { | |||
}); | |||
} | |||
|
|||
// TODO: move this somewhere else to have app-wide notifications of incoming payments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can address this to show a toast whenever we get a payment? because received payments via lightning address will not show any more - we are removing a feature here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we can make this provider which keeps pushing notifications via toast in-app (everywhere, not just receive), will add a commit
Description
Receive
screen similar toSend
, so now Create Invoice screen is separatedScreenshots