Renamed Gitnuro composable to App
This commit is contained in:
parent
fda901c0f2
commit
894138b39f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user