enh : remove hardcoded version number

This commit is contained in:
MrSluffy
2025-02-17 15:52:39 +08:00
parent 054ca70fc6
commit 451c99bfa5
@@ -52,7 +52,7 @@ fun CheckUpdate(
var isDownloading by remember { mutableStateOf(false) }
var downloadedFile by remember { mutableStateOf<File?>(null) }
val currentVersionNumber = "15.Dev.(#2033)" // Hardcoded for testing
val currentVersionNumber = BuildConfig.VERSION_DISPLAY_NAME
.substringAfterLast("#")
.toIntOrNull() ?: 0