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) appStateManager.repositoryTabChanged(key, path)
} }
Gitnuro(gitManager, path, tabName) App(gitManager, path, tabName)
} }
} }
} }
@Composable @Composable
fun Gitnuro(gitManager: GitManager, repositoryPath: String?, tabName: MutableState<String>) { fun App(gitManager: GitManager, repositoryPath: String?, tabName: MutableState<String>) {
LaunchedEffect(gitManager) { LaunchedEffect(gitManager) {
if (repositoryPath != null) if (repositoryPath != null)
gitManager.openRepository(repositoryPath) gitManager.openRepository(repositoryPath)