Skip to content

Conversation

@Thenlie
Copy link
Collaborator

@Thenlie Thenlie commented Jul 8, 2025

Add a banner to the bottom player that displays when there is no internet connection.

Screenshot

IMG_6926

}

export function PlayerBottomBar() {
const isOnline = useNetInfo().isInternetReachable ?? true;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This coalesces to true because the initial return will be null while the network check resolves. We only want to read true or false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants