diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-10-05 22:14:23 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-10-05 22:24:11 +0530 |
| commit | 686156ad6e44c17609e7903f7d99e12c8a940af6 (patch) | |
| tree | 03246a5723528cd33d6f559eba7183e7f0c1c229 /src/components/AppMenu.tsx | |
| parent | 8dc2e23927a6f61d9dc0405b854e0fc1e158d613 (diff) | |
| download | daft-launcher-686156ad6e44c17609e7903f7d99e12c8a940af6.tar.gz daft-launcher-686156ad6e44c17609e7903f7d99e12c8a940af6.zip | |
Add autofocus when clear button is clicked + ui changes
Diffstat (limited to '')
| -rw-r--r-- | src/components/AppMenu.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/AppMenu.tsx b/src/components/AppMenu.tsx index 8938bb9..ebc6dae 100644 --- a/src/components/AppMenu.tsx +++ b/src/components/AppMenu.tsx @@ -78,6 +78,10 @@ export const AppMenu: React.FC<React.PropsWithChildren<{app: AppDetail}>> = ({ <TouchableOpacity className="flex-1" onPress={closeContextMenu}> <View className="flex justify-center items-center h-full"> <View className="bg-[#181818] border border-[#222] w-2/3"> + <Text className="text-slate-500 text-xs text-center border-b border-slate-500"> + {app.label} + </Text> + {menuItems.map((menuItem) => ( <Pressable key={menuItem.label} |
