LedgerHQ / ledger-live-mobile

⛔️ DEPRECATED - Ledger Live (Mobile)
https://ledger.com/live
Apache License 2.0
381 stars 116 forks source link

feedbacks on Add Accounts #386

Closed gre closed 5 years ago

gre commented 5 years ago
capture d ecran 2018-10-30 a 07 24 41

iOS only.

there are actually a lot of bugs on iOS implementation at the moment

gre commented 5 years ago

you can continue with this:

diff --git a/src/libcore/index.js b/src/libcore/index.js
index ec18e67..f7cdb8a 100644
--- a/src/libcore/index.js
+++ b/src/libcore/index.js
@@ -147,20 +147,20 @@ export async function createAccountFromDevice({
   const accountCreationInfos = await core.coreWallet.getNextAccountCreationInfo(
     wallet,
   );
-  const chainCodes = await core.coreAccountCreationInfo.getChainCodes(
-    accountCreationInfos,
+  const chainCodes = getValue(
+    await core.coreAccountCreationInfo.getChainCodes(accountCreationInfos),
   );
-  const publicKeys = await core.coreAccountCreationInfo.getPublicKeys(
-    accountCreationInfos,
+  const publicKeys = getValue(
+    await core.coreAccountCreationInfo.getPublicKeys(accountCreationInfos),
   );
-  const index = await core.coreAccountCreationInfo.getIndex(
-    accountCreationInfos,
+  const index = getValue(
+    await core.coreAccountCreationInfo.getIndex(accountCreationInfos),
   );
-  const derivations = await core.coreAccountCreationInfo.getDerivations(
-    accountCreationInfos,
+  const derivations = getValue(
+    await core.coreAccountCreationInfo.getDerivations(accountCreationInfos),
   );
-  const owners = await core.coreAccountCreationInfo.getOwners(
-    accountCreationInfos,
+  const owners = getValue(
+    await core.coreAccountCreationInfo.getOwners(accountCreationInfos),
   );

   await derivations.reduce(

getValue is a temporary workaround for this.

meriadec commented 5 years ago

thx. looking into it.

meriadec commented 5 years ago

I agree on the cancel modal (there is not for send transaction.. so.. :joy: ), the chances that someone hit the top right close arrow by mistake are near from 0%

gre commented 5 years ago
gre commented 5 years ago

use replace instead. the swipe right to left animation is very weird.

meriadec commented 5 years ago

https://github.com/LedgerHQ/ledger-live-mobile/pull/397

gre commented 5 years ago

what about :

meriadec commented 5 years ago

yeah, I tried to negociate lol

meriadec commented 5 years ago

but no :)

gre commented 5 years ago

ok i'll discuss again