From 17839bfaf1cfc0213027b36d49e933949ca6e8e0 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Sat, 19 Aug 2023 14:47:18 +0200 Subject: [PATCH] Added TODO reminder --- .../kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt | 3 +++ .../jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt index c7d5864..0fa7731 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt @@ -176,6 +176,9 @@ fun UncommitedChanges( ) } + // TODO After moving to compose 1.5.0 (beta and RC), the right click event stops working randomly just on + // unstaged changes. It could be related to the changes to the Popup API and the custom implementation + // that Gitnuro uses val unstagedView: @Composable () -> Unit = { EntriesList( modifier = Modifier diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt index b201dc4..980e05e 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt @@ -261,7 +261,7 @@ class TabInformation( this.path = newPath if (newPath == null) { - tabName.value = TabInformation.DEFAULT_NAME + tabName.value = DEFAULT_NAME } else { tabName.value = Path(newPath).name appStateManager.repositoryTabChanged(newPath)