feat: version v0.0.1 affichée en bas du drawer (BuildConfig.VERSION_NAME)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 08:09:54 +02:00
parent f5fc51c156
commit f038dbe0ee
4 changed files with 45 additions and 1 deletions
@@ -3,9 +3,11 @@ package com.planify.mobile.ui
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.icons.Icons
@@ -165,6 +167,15 @@ fun MainScreen(viewModel: DrawerViewModel = hiltViewModel()) {
},
)
Spacer(Modifier.height(8.dp))
Text(
text = "v${com.planify.mobile.BuildConfig.VERSION_NAME}",
style = MaterialTheme.typography.labelSmall,
color = MaterialTheme.colorScheme.onSurfaceVariant,
textAlign = TextAlign.Center,
modifier = Modifier
.fillMaxWidth()
.padding(bottom = 16.dp),
)
}
}
) {