Skip to content

Commit 911b702

Browse files
authored
Merge pull request #1524 from Hirobreak/setpin
fixing account init
2 parents b87d024 + 450c9e0 commit 911b702

File tree

10 files changed

+21
-20
lines changed

10 files changed

+21
-20
lines changed

electron_app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "criptext",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"author": {
55
"name": "Criptext Inc",
66
"email": "[email protected]",

electron_app/src/windows/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const aliceManager = require('./../aliceManager');
1616
const { isFromStore, getSystemLanguage } = require('./windowUtils');
1717
const { openLaunchWindow } = require('./launch.js');
1818
const { DEFAULT_PIN } = require('./../utils/const');
19+
const logger = require('../logger');
1920

2021
const sendAPIevent = async event => {
2122
await generateEvent({ event, recipientId: myAccount.recipientId });
@@ -45,13 +46,15 @@ const upStepCheckPIN = async () => {
4546
await deleteEncryptedDatabase();
4647
upStepNewUser();
4748
} else {
48-
myAccount.initialize(existingAccounts[0]);
49+
myAccount.initialize(existingAccounts);
4950
globalManager.pinData.set({ pinType: 'signin' });
5051
pinWindow.show();
5152
}
5253
return;
5354
}
54-
} catch (error) {}
55+
} catch (error) {
56+
logger.error(error);
57+
}
5558

5659
const pin = await pinWindow.checkPin();
5760
if (!pin) {

email_composer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "email_composer",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"private": true,
55
"dependencies": {
66
"@criptext/electron-better-ipc": "^0.7.0-rc1-0.2",

email_loading/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "email_loading",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"private": true,
55
"dependencies": {
66
"@criptext/electron-better-ipc": "^0.7.0-rc1-0.2",

email_login/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "email_login",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"private": true,
55
"dependencies": {
66
"@criptext/electron-better-ipc": "^0.7.0-rc1-0.2",

email_login/src/components/PanelWrapper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ class PanelWrapper extends Component {
317317
setPopupContent={this.setPopupContent}
318318
value={this.state.values.usernameOrEmailAddress}
319319
onChangeVersion={this.props.onChangeVersion}
320+
onGoToChangePassword={this.hangleGoToChangePassword}
320321
/>
321322
);
322323
case mode.CHANGEPASSWORD:
Lines changed: 1 addition & 8 deletions
Loading

email_login/src/new-components/launch.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
.title-container {
88
text-align: center;
9-
margin-top: 200px;
9+
margin-top: 185px;
1010

1111
> div {
12-
background-position: center;
12+
background-position: bottom;
1313
background-repeat: no-repeat;
1414
}
1515
}
@@ -21,7 +21,10 @@
2121

2222
.subtitle {
2323
background-image: url(../#{$_PATH_TO_IMAGES}/img-subtitle.svg);
24-
height: 48px;
24+
height: 30px;
25+
width: 190px;
26+
margin: auto;
27+
margin-top: 18px;
2528
}
2629

2730
.buttons-container {
@@ -30,13 +33,14 @@
3033
height: 95px;
3134
justify-content: space-between;
3235
align-items: center;
33-
margin-top: 120px;
36+
margin-top: 128px;
3437
}
3538

3639
.version-container {
3740
color: #8a8a8a;
3841
text-align: center;
3942
margin-top: 15px;
43+
margin-bottom: 19px;
4044
}
4145
}
4246

email_mailbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "email_mailbox",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"private": true,
55
"dependencies": {
66
"@criptext/electron-better-ipc": "^0.7.0-rc1-0.2",

email_pin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "email_pin",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"private": true,
55
"dependencies": {
66
"@criptext/electron-better-ipc": "^0.7.0-rc1-0.2",

0 commit comments

Comments
 (0)