Renamed Gitnuro composable to App

This commit is contained in:
Abdelilah El Aissaoui 2021-10-15 02:38:36 +02:00
parent fda901c0f2
commit 894138b39f

View file

@ -141,13 +141,13 @@ class Main {
appStateManager.repositoryTabChanged(key, path)
}
Gitnuro(gitManager, path, tabName)
App(gitManager, path, tabName)
}
}
}
@Composable
fun Gitnuro(gitManager: GitManager, repositoryPath: String?, tabName: MutableState<String>) {
fun App(gitManager: GitManager, repositoryPath: String?, tabName: MutableState<String>) {
LaunchedEffect(gitManager) {
if (repositoryPath != null)
gitManager.openRepository(repositoryPath)