Allow manual version info edit

Make the version info card editable via text boxes.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-18 14:24:10 +00:00
parent 450e57fe50
commit 73ff9e7886
3 changed files with 134 additions and 60 deletions

View File

@@ -83,7 +83,6 @@ const Settings = () => {
{/* Data Sync Settings */}
<div className="mb-8">
<SyncSettings />
</div>
@@ -97,9 +96,7 @@ const Settings = () => {
<div className="space-y-4 mb-8">
<h2 className="text-sm font-medium text-gray-500 mb-2 px-2"> </h2>
<SettingsOption icon={Lock} label="보안 및 개인정보" description="보안 및 데이터 설정"
// 로그인 상태와 관계없이 접근 가능하도록 변경
onClick={() => navigate('/security-privacy')} />
<SettingsOption icon={Lock} label="보안 및 개인정보" description="보안 및 데이터 설정" onClick={() => navigate('/security-privacy')} />
<SettingsOption icon={HelpCircle} label="도움말 및 지원" description="FAQ 및 고객 지원" onClick={() => navigate('/help-support')} />
</div>
@@ -109,7 +106,8 @@ const Settings = () => {
<div className="mt-10 border-t border-gray-200 pt-4">
<div className="neuro-flat p-3 rounded-lg">
<AppVersionInfo showDevInfo={true} />
<h2 className="text-sm font-medium text-gray-500 mb-2 px-2"> </h2>
<AppVersionInfo showDevInfo={true} editable={true} />
</div>
{/* 앱 버전 카드 아래 추가 공간 */}
@@ -120,4 +118,5 @@ const Settings = () => {
<NavBar />
</div>;
};
export default Settings;