Enable phone mode icon for all users to test features

Modify the usePhoneMode hook to always return true for `canUsePhoneMode`, ensuring the phone mode icon is visible on all devices for testing purposes.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 95e8aab4-f39f-4b48-aa57-a759ec15ba3d
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/95e8aab4-f39f-4b48-aa57-a759ec15ba3d/0iFumsU
This commit is contained in:
michaelschal committed 2025-09-11 09:09:51 +00:00
1 parent e4892c93eb
commit d6afacef31
3 files changed
+10 -2

No files matched your search

+2 -2
View File
@@ -11,8 +11,8 @@ export interface PhoneModeConfig {
export function usePhoneMode(): PhoneModeConfig {
const { isMobile, dimensions } = useScreenSize()
// Déterminer si l'appareil peut bénéficier du mode téléphone
const canUsePhoneMode = isMobile || dimensions.width <= 480
// L'icône de mode téléphone est toujours disponible pour permettre aux utilisateurs de tester
const canUsePhoneMode = true
// Auto-suggestion pour très petits écrans (< 400px)
const autoSuggestPhoneMode = dimensions.width < 400