Remove app version information
Removes the app version information and description.
This commit is contained in:
@@ -24,10 +24,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
const [error, setError] = useState(false);
|
||||
const [retries, setRetries] = useState(0);
|
||||
|
||||
// 편집 가능한 필드를 위한 상태
|
||||
const [editableVersionName, setEditableVersionName] = useState('1.0.1');
|
||||
const [editableBuildNumber, setEditableBuildNumber] = useState('2');
|
||||
|
||||
// 버전 정보 가져오기
|
||||
const fetchVersionInfo = useCallback(async () => {
|
||||
if (!editable) {
|
||||
@@ -54,9 +50,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
versionCode: info.versionCode
|
||||
});
|
||||
|
||||
// 편집 가능한 필드도 업데이트
|
||||
setEditableVersionName(info.versionName);
|
||||
setEditableBuildNumber(String(info.buildNumber));
|
||||
setLoading(false);
|
||||
console.log('앱 버전 정보 표시 준비 완료');
|
||||
} catch (error) {
|
||||
@@ -105,18 +98,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
if (editable) {
|
||||
return <div className={className}>
|
||||
<div className="space-y-3">
|
||||
<div>
|
||||
<Label htmlFor="versionName" className="text-gray-600 text-center block">앱 버전</Label>
|
||||
<div className="p-2 text-base mt-1 py-0 text-center">
|
||||
{editableVersionName} (build {editableBuildNumber})
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<Label htmlFor="notes" className="text-gray-600 text-center block">세부 설명</Label>
|
||||
<div className="p-2 text-base mt-1 py-0 text-center">The first build</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-[70px] text-center">
|
||||
<p className="text-gray-400 font-semibold text-lg my-[50px]">ZELLYY CLOUD</p>
|
||||
</div>
|
||||
@@ -132,7 +113,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
재시도
|
||||
</button>
|
||||
</div> : <div className="py-1 text-center">
|
||||
<p className="text-sm">{versionInfo.versionName} (build {versionInfo.buildNumber})</p>
|
||||
{showDevInfo && versionInfo.versionCode && <p className="text-xs text-gray-400 mt-1 font-mono">versionCode: {versionInfo.versionCode}</p>}
|
||||
</div>}
|
||||
</div>;
|
||||
|
||||
Reference in New Issue
Block a user