Skip to content

Commit

Permalink
fix: deepscan
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric921 committed May 14, 2024
1 parent 8eea77f commit 41ca885
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 10 deletions.
91 changes: 91 additions & 0 deletions apps/mobile/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{"name": "ever-teams-mobile",
"displayName": "Ever Teams Mobile",
"expo": {
"name": "Ever Teams Mobile",
"slug": "ever-teams-mobile",
"version": "0.1.0",
"orientation": "portrait",
"icon": "./assets/images/ever-teams-logo.png",
"splash": {
"image": "./assets/images/splash-ever-teams.png",
"resizeMode": "cover",
"backgroundColor": "#ffffff"
},
"owner": "everco",
"updates": {
"fallbackToCacheTimeout": 0,
"url": "https://u.expo.dev/2ff924e4-7a91-4b23-9db9-7453a8063bb0"
},
"jsEngine": "hermes",
"assetBundlePatterns": ["**/*"],
"plugins": [
[
"expo-media-library",
{
"photosPermission": "Allow $(PRODUCT_NAME) to access your photos.",
"savePhotosPermission": "Allow $(PRODUCT_NAME) to save photos.",
"isAccessMediaLocationEnabled": true
}
],
"sentry-expo",
[
"expo-build-properties",
{
"android": {
"enableProguardInReleaseBuilds": true,
"extraProguardRules": "-keep public class com.horcrux.svg.** {*;}",
"allowBackup": false
}
}
]
],
"android": {
"icon": "./assets/images/app-icon-android-legacy-ever-teams.png",
"package": "ever.team",
"adaptiveIcon": {
"foregroundImage": "./assets/images/app-icon-android-adaptive-foreground-ever.png",
"backgroundImage": "./assets/images/app-icon-android-adaptive-background.png"
},
"splash": {
"image": "./assets/images/splash-ever-teams.png",
"resizeMode": "cover",
"backgroundColor": "#ffffff"
},
"permissions": [
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE",
"android.permission.ACCESS_MEDIA_LOCATION"
]
},
"ios": {
"icon": "./assets/images/app-icon-ios-ever-teams.png",
"supportsTablet": true,
"bundleIdentifier": "co.ever.teams",
"splash": {
"image": "./assets/images/splash-ever-teams.png",
"tabletImage": "./assets/images/splash-logo-ever-teams-ios-tablet.png",
"resizeMode": "cover",
"backgroundColor": "#ffffff"
},
"infoPlist": {
"NSCameraUsageDescription": "This app uses the camera to scan barcodes on event tickets.",
"NSPhotoLibraryUsageDescription": "Allow $(PRODUCT_NAME) to access your photos.",
"NSPhotoLibraryAddUsageDescription": "Allow $(PRODUCT_NAME) to save photos."
}
},
"web": {
"favicon": "./assets/images/app-icon-web-favicon.png",
"splash": {
"image": "./assets/images/splash-logo-web-ever-teams.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
},
"extra": {
"eas": {
"projectId": "2ff924e4-7a91-4b23-9db9-7453a8063bb0"
}
},
"runtimeVersion": "exposdk:48.0.0"
}
}
10 changes: 0 additions & 10 deletions apps/web/lib/features/task/task-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import {
Text,
VerticalSeparator
} from 'lib/components';
import { ImageOverlapperProps } from 'lib/components/image-overlapper';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { useCallback, useState } from 'react';
Expand Down Expand Up @@ -123,14 +122,6 @@ export function TaskCard(props: Props) {

const memberInfo = useTeamMemberCard(currentMember || undefined);
const taskEdition = useTMCardTaskEdit(task);
const taskAssignee: ImageOverlapperProps[] =
task?.members?.map((member: any) => {
return {
id: member.user.id,
url: member.user.imageUrl,
alt: member.user.firstName
};
}) || [];

return (
<>
Expand Down Expand Up @@ -169,7 +160,6 @@ export function TaskCard(props: Props) {
{viewType === 'unassign' && (
<div className="w-[20%] flex justify-around">
<UsersTaskAssigned task={task} />
{/* <ImageComponent radius={30} images={taskAssignee} item={task} /> */}
</div>
)}
<VerticalSeparator />
Expand Down

0 comments on commit 41ca885

Please sign in to comment.