mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-19 19:01:18 +00:00

- Enhanced NostrBandService with aggressive cache-busting and better error handling - Improved useProfileStats hook with optimized refresh settings and platform-specific logging - Fixed ProfileFollowerStats UI to show actual values with loading indicators - Added visual feedback during refresh operations - Updated CHANGELOG.md to document these improvements This resolves the issue where follower/following counts were not updating properly on Android and iOS platforms.
44 lines
1.2 KiB
TypeScript
44 lines
1.2 KiB
TypeScript
import React from 'react';
|
|
import { Stack } from 'expo-router';
|
|
import { StatusBar } from 'expo-status-bar';
|
|
|
|
/**
|
|
* Layout for test screens
|
|
*
|
|
* This allows us to have multiple test screens in the test directory
|
|
* for trying out different features in isolation.
|
|
*
|
|
* Each test page should include its own providers as needed, rather than
|
|
* relying on providers in this layout, to avoid conflicts with the app's
|
|
* global settings.
|
|
*/
|
|
export default function TestLayout() {
|
|
return (
|
|
<>
|
|
<StatusBar style="dark" />
|
|
<Stack screenOptions={{ headerShown: true }}>
|
|
<Stack.Screen
|
|
name="react-query-auth-test"
|
|
options={{ title: 'React Query Auth Test' }}
|
|
/>
|
|
<Stack.Screen
|
|
name="auth-test"
|
|
options={{ title: 'Auth Test' }}
|
|
/>
|
|
<Stack.Screen
|
|
name="simple-auth"
|
|
options={{ title: 'Simple Auth Test' }}
|
|
/>
|
|
<Stack.Screen
|
|
name="robohash"
|
|
options={{ title: 'Robohash Test' }}
|
|
/>
|
|
<Stack.Screen
|
|
name="cache-test"
|
|
options={{ title: 'Image Cache Test' }}
|
|
/>
|
|
</Stack>
|
|
</>
|
|
);
|
|
}
|