Skip to content

Commit

Permalink
Fix import formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Feb 14, 2025
1 parent 002bb55 commit daa4e53
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
const env = process.env;

const BUILD_NUMBER = parseInt(process.env.APP_BUILD_NUMBER) || 86;
const VERSION_NUMBER = process.env.APP_VERSION_NUMBER || '2.1.6';
const BUILD_NUMBER = parseInt(env.APP_BUILD_NUMBER) || 86;
const VERSION_NUMBER = env.APP_VERSION_NUMBER || '2.1.6';

// Used by the 'Create Public Link' functionality
export const VERIFIER_PLUS_URL = env['VERIFIER_PLUS_URL'] || 'https://verifierplus.org';
Expand Down
2 changes: 1 addition & 1 deletion app/lib/decode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { CredentialRecordRaw } from '../model';
import { NavigationUtil } from './navigationUtil';
import { DidAuthRequestParams, performDidAuthRequest } from './didAuthRequest';

import {LinkConfig} from '../../app.config';
import { LinkConfig } from '../../app.config';

const documentLoader = securityLoader({ fetchRemoteContexts: true }).build();
export const regexPattern = {
Expand Down
2 changes: 1 addition & 1 deletion app/lib/deepLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { credentialRequestFromChapiUrl } from './decode';
import { encodeQueryParams } from './encode';
import { onShareIntent } from './shareIntent';

import {LinkConfig} from '../../app.config';
import { LinkConfig } from '../../app.config';

/**
* In order to support OAuth redirects, the Android intent filter was set
Expand Down
3 changes: 1 addition & 2 deletions app/lib/registerWallet.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Linking } from 'react-native';

import {LinkConfig} from '../../app.config';
import { LinkConfig } from '../../app.config';

export function registerWallet(): void {
Linking.canOpenURL(LinkConfig.registerWalletUrl).then(supported => {
Expand Down
2 changes: 1 addition & 1 deletion app/navigation/SettingsNavigation/SettingsNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createStackNavigator } from '@react-navigation/stack';
import DeviceInfo from 'react-native-device-info';
import { TouchableOpacity } from 'react-native-gesture-handler';

import appConfig, {LinkConfig} from '../../../app.config';
import appConfig, { LinkConfig } from '../../../app.config';
import walletImage from '../../assets/wallet.png';
import dynamicStyleSheet from './SettingsNavigation.styles';
import { NavHeader, ConfirmModal, BackupItemModal } from '../../components';
Expand Down
2 changes: 1 addition & 1 deletion app/screens/PublicLinkScreen/PublicLinkScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { navigationRef } from '../../navigation';

import { convertSVGtoPDF } from '../../lib/svgToPdf';
import { PDF } from '../../types/pdf';
import {LinkConfig} from '../../../app.config';
import { LinkConfig } from '../../../app.config';

export enum PublicLinkScreenMode {
Default,
Expand Down
2 changes: 1 addition & 1 deletion app/screens/ShareHomeScreen/ShareHomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { hasPublicLink } from '../../lib/publicLink';
import { verificationResultFor } from '../../lib/verifiableObject';
import { DidRegistryContext } from '../../init/registries';

import {LinkConfig} from '../../../app.config';
import { LinkConfig } from '../../../app.config';

export default function ShareHomeScreen({ navigation, route }: ShareHomeScreenProps): React.ReactElement {
const { styles, theme, mixins } = useDynamicStyles(dynamicStyleSheet);
Expand Down

0 comments on commit daa4e53

Please sign in to comment.