Skip to content

Commit

Permalink
Merge branch 'ia/issue457' of github.com:digitalcredentials/learner-c…
Browse files Browse the repository at this point in the history
…redential-wallet into ia/issue457
  • Loading branch information
jennacioffi committed Aug 23, 2023
2 parents c0e63f2 + 9bba6f0 commit f1ee73f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions app/lib/registerWallet.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {Linking} from 'react-native'
import {Linking} from 'react-native';

export function registerWallet() {
Linking.canOpenURL('https://lcw.app/add-wallet').then(supported => {
if (supported) {
Linking.openURL('https://lcw.app/add-wallet');
} else {
console.log("Unable to register wallet! Failed URL");
}
});
export function registerWallet(): void {
Linking.canOpenURL('https://lcw.app/register-wallet').then(supported => {
if (supported) {
Linking.openURL('https://lcw.app/register-wallet');
} else {
console.log('Unable to register wallet! Failed URL');
}
});
}
4 changes: 2 additions & 2 deletions app/navigation/SetupNavigation/SetupNavigation.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect, useCallback } from 'react';
import { Text, View, Image, AccessibilityInfo, ImageStyle, Linking } from 'react-native';
import React, { useState, useEffect } from 'react';
import { Text, View, Image, AccessibilityInfo, ImageStyle } from 'react-native';
import { MaterialIcons } from '@expo/vector-icons';
import { Button, CheckBox } from 'react-native-elements';
import { createStackNavigator } from '@react-navigation/stack';
Expand Down

0 comments on commit f1ee73f

Please sign in to comment.