diff --git a/Cargo.lock b/Cargo.lock index 7259c13..8161f50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3059,7 +3059,7 @@ dependencies = [ [[package]] name = "gpui-native-core" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "cpal", "flume 0.12.0", @@ -3075,7 +3075,7 @@ dependencies = [ [[package]] name = "gpui-native-data" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "gpui", "gpui-native-core", @@ -3087,7 +3087,7 @@ dependencies = [ [[package]] name = "gpui-native-editor" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "gpui", "gpui-native-core", @@ -3106,7 +3106,7 @@ dependencies = [ [[package]] name = "gpui-native-icons" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "anyhow", "gpui", @@ -3115,7 +3115,7 @@ dependencies = [ [[package]] name = "gpui-native-kit" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "gpui", "gpui-native-core", @@ -3129,7 +3129,7 @@ dependencies = [ [[package]] name = "gpui-native-layout" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "gpui", "gpui-native-core", @@ -3141,7 +3141,7 @@ dependencies = [ [[package]] name = "gpui-native-theme" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "anyhow", "async-channel", @@ -3162,7 +3162,7 @@ dependencies = [ [[package]] name = "gpui-native-utils" version = "0.1.0" -source = "git+https://git.reya.info/reya/gpui-native-kit?rev=daca373f77b49277835c1b17d1b9f81cb4c8f48e#daca373f77b49277835c1b17d1b9f81cb4c8f48e" +source = "git+https://git.reya.info/reya/gpui-native-kit?rev=d1a79fb9af4c6532166c5d28e9f493efa6d97b18#d1a79fb9af4c6532166c5d28e9f493efa6d97b18" dependencies = [ "gpui", "gpui-native-theme", diff --git a/Cargo.toml b/Cargo.toml index f2b2ac8..fbdbc63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ gpui = { git = "https://github.com/zed-industries/zed", rev = "f8cfc7ed9e57503de gpui_platform = { git = "https://github.com/zed-industries/zed", rev = "f8cfc7ed9e57503def9479138894f3139f5400cc", features = ["font-kit"] } reqwest_client = { git = "https://github.com/zed-industries/zed", rev = "f8cfc7ed9e57503def9479138894f3139f5400cc" } -gpui-native-kit = { git = "https://git.reya.info/reya/gpui-native-kit", rev = "daca373f77b49277835c1b17d1b9f81cb4c8f48e", features = ["layout", "editor"] } +gpui-native-kit = { git = "https://git.reya.info/reya/gpui-native-kit", rev = "d1a79fb9af4c6532166c5d28e9f493efa6d97b18", features = ["layout", "editor"] } settings = { path = "crates/settings" } signed_app = { path = "crates/signed_app" } diff --git a/crates/signed_app/src/repo/files.rs b/crates/signed_app/src/repo/files.rs index d44b0a9..be62b1b 100644 --- a/crates/signed_app/src/repo/files.rs +++ b/crates/signed_app/src/repo/files.rs @@ -239,9 +239,8 @@ impl RepoFilesView { self.selected_index = Some(index); - if expandable { - self.toggle_folder(&id); - } else { + // Folder disclosure now toggles from the tree's row click handler. + if !expandable { self.open_file(&id, window, cx); } cx.emit(RepoFilesEvent::Activated);