Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Apr 11, 2024
1 parent 30b1584 commit aa06bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {StyleSheet, View, Modal, Dimensions} from 'react-native';
import type {ImageStyle, ModalProps, ViewStyle, TextStyle} from 'react-native';
import {getAvailableApps, checkNotSupportedApps} from '../../utils';
import {generatePrefixes, generateTitles} from '../../constants';
import type {SharedOptions, MapId} from '../../type';
import type {MapId, SharedOptions} from '../../type';
import PopupFooter from './PopupFooter';
import PopupHeader from './PopupHeader';
import PopupBody from './PopupBody';
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const getAvailableApps = async (
const availableApps: MapId[] = [];

await Promise.all(
Object.entries(prefixes).map(async ([app, _]) => {
Object.keys(prefixes).map(async (app) => {
try {
const isInstalled = await isAppInstalled(app, prefixes);
if (isInstalled) {
Expand Down

0 comments on commit aa06bc3

Please sign in to comment.