diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-09-28 13:46:22 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-09-29 16:16:39 +0530 |
| commit | a1143f3696a0b272018f7eea43ee23a674c618e1 (patch) | |
| tree | 2289e6a1fbf47d339cb41849f9554d403bd837cc /src/screens/Home.tsx | |
| parent | 5d456899ea444301870e1d3c721d139c9251c531 (diff) | |
| download | daft-launcher-a1143f3696a0b272018f7eea43ee23a674c618e1.tar.gz daft-launcher-a1143f3696a0b272018f7eea43ee23a674c618e1.zip | |
Add context menu for apps (fav,settings,uninstall)
Diffstat (limited to 'src/screens/Home.tsx')
| -rw-r--r-- | src/screens/Home.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/screens/Home.tsx b/src/screens/Home.tsx index 00a4b1f..7bd1a3f 100644 --- a/src/screens/Home.tsx +++ b/src/screens/Home.tsx @@ -4,11 +4,14 @@ import {Clock} from '../components/Clock'; import {AppDetail} from 'react-native-launcher-kit/typescript/Interfaces/InstalledApps'; import {Favorites} from '../components/Favorites'; -export const Home: React.FC<{apps: AppDetail[]}> = ({apps}) => { +export const Home: React.FC<{apps: AppDetail[]; active: boolean}> = ({ + apps, + active, +}) => { return ( <View> <Clock /> - <Favorites apps={apps} /> + <Favorites apps={apps} active={active} /> </View> ); }; |
