From d864121fe0df4eb45adc40b07255b2505225e8ce Mon Sep 17 00:00:00 2001 From: Dennis Keil Date: Sat, 19 Oct 2024 17:42:42 +0200 Subject: [PATCH] Fix 'Find Player' button on home page (web) --- app/src/app/_layout.tsx | 3 ++- app/src/app/search.tsx | 11 +++++++++++ app/src/changelog.ts | 8 ++++---- 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 app/src/app/search.tsx diff --git a/app/src/app/_layout.tsx b/app/src/app/_layout.tsx index 26670eb1..df799649 100644 --- a/app/src/app/_layout.tsx +++ b/app/src/app/_layout.tsx @@ -363,12 +363,13 @@ function AppWrapper() { tabBarLabel: 'Home', tabBarIcon: () => 'home', headerRight: () => ( - ), }} /> + 'chess' }} /> 'landmark' }} /> 'chart-simple' }} /> diff --git a/app/src/app/search.tsx b/app/src/app/search.tsx new file mode 100644 index 00000000..fa0d38a1 --- /dev/null +++ b/app/src/app/search.tsx @@ -0,0 +1,11 @@ +import Search from '@app/view/components/search'; +import { Stack, router } from 'expo-router'; + +export default function SearchPage() { + return ( + <> + + router.navigate(`/matches/users/${user.profileId}?name=${user.name}&country=${user.country}`)} /> + + ); +} diff --git a/app/src/changelog.ts b/app/src/changelog.ts index c40061de..07751bfb 100644 --- a/app/src/changelog.ts +++ b/app/src/changelog.ts @@ -179,10 +179,10 @@ export const changelog: IChangelog = { type: 'minor', title: 'Implemented [AoE II DE Update 125283](https://www.ageofempires.com/news/age-of-empires-ii-definitive-edition-update-preview-125283/)', }, - // { - // type: 'minor', - // title: 'Load news faster', - // }, + { + type: 'bugfix', + title: 'Fix \'Find Player\' button on home page (web)', + }, ], '111.0.0': [ {