From 8f7f90ebc4f3e1b22b0b5421bbd38404f60f2ab3 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 28 Jul 2026 16:39:20 +0300 Subject: [PATCH] keep ios e2e controls onscreen --- src/view/com/testing/TestCtrls.e2e.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/view/com/testing/TestCtrls.e2e.tsx b/src/view/com/testing/TestCtrls.e2e.tsx index 0572c1dd2b..03c8849891 100644 --- a/src/view/com/testing/TestCtrls.e2e.tsx +++ b/src/view/com/testing/TestCtrls.e2e.tsx @@ -1,5 +1,5 @@ import {useEffect, useState} from 'react' -import {LogBox, Pressable, View} from 'react-native' +import {LogBox, Platform, Pressable, View} from 'react-native' import {useQueryClient} from '@tanstack/react-query' import {BLUESKY_PROXY_HEADER, DEV_ENV_APPVIEW_DID} from '#/lib/constants' @@ -16,7 +16,10 @@ LogBox.ignoreAllLogs() * of the tests dramatically. */ -const BTN = {height: 16, width: 16} +const BTN = Platform.select({ + ios: {height: 8, width: 8, backgroundColor: 'red'}, + default: {height: 1, width: 1, backgroundColor: 'red'}, +}) /* * This component is mounted inside in @@ -69,7 +72,13 @@ export function TestCtrls() { setShowLoggedOut(false) } return ( - + {isProxyConfigured && ( <>