fix: message list overflow
This commit is contained in:
Generated
+8
-8
@@ -1189,9 +1189,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cocoa"
|
name = "cocoa"
|
||||||
version = "0.26.0"
|
version = "0.26.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f79398230a6e2c08f5c9760610eb6924b52aa9e7950a619602baba59dcbbdbb2"
|
checksum = "ad36507aeb7e16159dfe68db81ccc27571c3ccd4b76fb2fb72fc59e7a4b1b64c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.13.2",
|
"bitflags 2.13.2",
|
||||||
"block",
|
"block",
|
||||||
@@ -2786,7 +2786,7 @@ dependencies = [
|
|||||||
"anyhow",
|
"anyhow",
|
||||||
"block",
|
"block",
|
||||||
"cbindgen",
|
"cbindgen",
|
||||||
"cocoa 0.26.0",
|
"cocoa 0.26.1",
|
||||||
"core-foundation 0.10.1",
|
"core-foundation 0.10.1",
|
||||||
"core-video",
|
"core-video",
|
||||||
"derive_more",
|
"derive_more",
|
||||||
@@ -2916,7 +2916,7 @@ dependencies = [
|
|||||||
"async-task",
|
"async-task",
|
||||||
"block",
|
"block",
|
||||||
"block2 0.6.2",
|
"block2 0.6.2",
|
||||||
"cocoa 0.26.0",
|
"cocoa 0.26.1",
|
||||||
"core-foundation 0.10.1",
|
"core-foundation 0.10.1",
|
||||||
"core-foundation-sys",
|
"core-foundation-sys",
|
||||||
"core-graphics 0.24.0",
|
"core-graphics 0.24.0",
|
||||||
@@ -7973,9 +7973,9 @@ checksum = "70ba288e709927c043cbe476718d37be306be53fb1fafecd0dbe36d072be2580"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-ident"
|
name = "unicode-ident"
|
||||||
version = "1.0.25"
|
version = "1.0.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ab72a15cf68d77cb0987d3684aa8a45c5ef827e8cb49ee2f30bfd7ba2feb519f"
|
checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-linebreak"
|
name = "unicode-linebreak"
|
||||||
@@ -7994,9 +7994,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-properties"
|
name = "unicode-properties"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0"
|
checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-script"
|
name = "unicode-script"
|
||||||
|
|||||||
@@ -2052,6 +2052,7 @@ impl Render for ChatPanel {
|
|||||||
.child(
|
.child(
|
||||||
v_flex()
|
v_flex()
|
||||||
.flex_1()
|
.flex_1()
|
||||||
|
.min_h_0()
|
||||||
.relative()
|
.relative()
|
||||||
.map(|this| {
|
.map(|this| {
|
||||||
if self.messages.is_empty() {
|
if self.messages.is_empty() {
|
||||||
|
|||||||
@@ -139,13 +139,14 @@ impl Render for GreeterPanel {
|
|||||||
v_flex()
|
v_flex()
|
||||||
.gap_2()
|
.gap_2()
|
||||||
.w_full()
|
.w_full()
|
||||||
|
.justify_start()
|
||||||
|
.items_start()
|
||||||
.child(
|
.child(
|
||||||
Button::new("profile")
|
Button::new("profile")
|
||||||
.icon(Icon::new(IconName::Profile))
|
.icon(Icon::new(IconName::Profile))
|
||||||
.label("Update profile")
|
.label("Update profile")
|
||||||
.ghost()
|
.ghost()
|
||||||
.small()
|
.small()
|
||||||
.justify_start()
|
|
||||||
.on_click(cx.listener(move |this, _, window, cx| {
|
.on_click(cx.listener(move |this, _, window, cx| {
|
||||||
this.add_profile_panel(window, cx)
|
this.add_profile_panel(window, cx)
|
||||||
})),
|
})),
|
||||||
@@ -156,7 +157,6 @@ impl Render for GreeterPanel {
|
|||||||
.label("Change theme")
|
.label("Change theme")
|
||||||
.ghost()
|
.ghost()
|
||||||
.small()
|
.small()
|
||||||
.justify_start()
|
|
||||||
.on_click(cx.listener(move |_, _, _, cx| {
|
.on_click(cx.listener(move |_, _, _, cx| {
|
||||||
cx.dispatch_action(&Command::ToggleTheme);
|
cx.dispatch_action(&Command::ToggleTheme);
|
||||||
})),
|
})),
|
||||||
|
|||||||
Reference in New Issue
Block a user