From 26414810e928e39d205e36102fdc8da3df6219ff Mon Sep 17 00:00:00 2001 From: europanite Date: Wed, 29 Oct 2025 12:17:36 +0900 Subject: [PATCH] fix/settingbar --- frontend/app/components/SettingsBar.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/app/components/SettingsBar.tsx b/frontend/app/components/SettingsBar.tsx index 7aca264..c7d6cbc 100644 --- a/frontend/app/components/SettingsBar.tsx +++ b/frontend/app/components/SettingsBar.tsx @@ -2,16 +2,15 @@ import React from "react"; import { View, Text, TouchableOpacity, useWindowDimensions } from "react-native"; import { SafeAreaView } from "react-native-safe-area-context"; import { StatusBar } from "expo-status-bar"; -import { useAuth } from "../context/Auth"; import { useNavigation } from "@react-navigation/native"; const BAR_BG = "#000000ff"; -const CONTENT_MAX_W = 480; // ← same as forms +const CONTENT_MAX_W = 480; export default function SettingsBar() { const nav = useNavigation(); const { width } = useWindowDimensions(); - const isNarrow = width < 420; // stack buttons below on very small widths + const isNarrow = width < 420; const Btn = ({ title, onPress }: { title: string; onPress: () => void }) => (