Skip to content

Commit

Permalink
fix: android title & catch error
Browse files Browse the repository at this point in the history
  • Loading branch information
sdisalvo-crd committed Apr 16, 2024
1 parent c2788bd commit 013e669
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
8 changes: 4 additions & 4 deletions src/ui/components/CreateIdentifier/CreateIdentifier.scss
Expand Up @@ -58,15 +58,15 @@ ion-modal.create-identifier-modal {
overflow: hidden;
}

ion-title.md {
margin-left: -3rem;
}

ion-content.scrollable-page-content > *:first-child {
padding-top: 1rem;
}
}

ion-title.md {
margin-left: -3rem;
}

.multisig-share-qr-code {
text-align: center;

Expand Down
23 changes: 14 additions & 9 deletions src/ui/components/CreateIdentifier/components/IdentifierStage1.tsx
Expand Up @@ -26,16 +26,21 @@ const IdentifierStage1 = ({
state.newIdentifier.groupMetadata?.groupId;

useEffect(() => {
const fetchOobi = async () => {
const oobiValue = await Agent.agent.connections.getKeriOobi(
signifyName,
userName,
groupId
);
if (oobiValue) {
setOobi(oobiValue);
async function fetchOobi() {
try {
const oobiValue = await Agent.agent.connections.getKeriOobi(
signifyName,
userName,
groupId
);
if (oobiValue) {
setOobi(oobiValue);
}
} catch (e) {
// @TODO - Error handling.
}
};
}

fetchOobi();
}, [groupId, signifyName, userName]);

Expand Down

0 comments on commit 013e669

Please sign in to comment.