Skip to content

Commit

Permalink
Update MainActivity.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Sisah2 authored Jun 9, 2024
1 parent 8c233d0 commit 1354b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/ui/activity/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class MainActivity : AppCompatActivity() {
// Only reinstall static files if they are of a mismatched version
try {
val stamp = File(Constants.VERSION_STAMP).readText().trim()
if (stamp.toInt() != BuildConfig.VERSION_CODE) {
if (stamp != BuildConfig.VERSION_NAME) {
removeResourceFiles()
Toast.makeText(this, getString(R.string.user_resources_was_reset), Toast.LENGTH_SHORT).show()
//reinstallStaticFiles()
Expand Down

0 comments on commit 1354b8e

Please sign in to comment.