addded sponsor button in release note popup

This commit is contained in:
ReshadSadik 2023-05-30 19:38:28 +06:00
parent 06939a0f1e
commit 466d58d34f
2 changed files with 16 additions and 2 deletions

View file

@ -1,12 +1,12 @@
{
"name": "ResponsivelyApp",
"version": "1.2.0",
"version": "1.3.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ResponsivelyApp",
"version": "1.2.0",
"version": "1.3.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View file

@ -120,6 +120,20 @@ const ReleaseNotes = () => {
>
Full Release Notes
</Button>
<Button
onClick={() => {
window.electron.ipcRenderer.sendMessage(
IPC_MAIN_CHANNELS.OPEN_EXTERNAL,
{
url: 'https://responsively.app/sponsor/',
}
);
}}
isActionButton
isActive
>
Sponsor
</Button>
</div>
</>
</Modal>