Display build number in version info

Display the build number next to the version number in the AppVersionInfo component.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 12:23:35 +00:00
parent 35a9d89d40
commit f7eb7d5af7

View File

@@ -110,7 +110,7 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
<div>
<Label htmlFor="versionName" className="text-gray-600"> </Label>
<div className="p-2 text-base mt-1 py-0">
{editableVersionName}
{editableVersionName} (build {editableBuildNumber})
</div>
</div>
@@ -137,7 +137,7 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
</div>
) : (
<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 && (
<p className="text-xs text-gray-400 mt-1 font-mono">versionCode: {versionInfo.versionCode}</p>
)}