Skip to content

Commit

Permalink
enh : remove hardcoded version number
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSluffy committed Feb 17, 2025
1 parent 054ca70 commit 451c99b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 451c99b

Please sign in to comment.