Display build number in version info
Display the build number next to the version number in the AppVersionInfo component.
This commit is contained in:
@@ -110,7 +110,7 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
|||||||
<div>
|
<div>
|
||||||
<Label htmlFor="versionName" className="text-gray-600">앱 버전</Label>
|
<Label htmlFor="versionName" className="text-gray-600">앱 버전</Label>
|
||||||
<div className="p-2 text-base mt-1 py-0">
|
<div className="p-2 text-base mt-1 py-0">
|
||||||
{editableVersionName}
|
{editableVersionName} (build {editableBuildNumber})
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="py-1 text-center">
|
<div className="py-1 text-center">
|
||||||
<p className="text-sm">1.0.1 (build 2)</p>
|
<p className="text-sm">{versionInfo.versionName} (build {versionInfo.buildNumber})</p>
|
||||||
{showDevInfo && versionInfo.versionCode && (
|
{showDevInfo && versionInfo.versionCode && (
|
||||||
<p className="text-xs text-gray-400 mt-1 font-mono">versionCode: {versionInfo.versionCode}</p>
|
<p className="text-xs text-gray-400 mt-1 font-mono">versionCode: {versionInfo.versionCode}</p>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user