example: update cosmic-time and add extra row to each card
This commit is contained in:
parent
5745ed3ffe
commit
785861a630
3 changed files with 3 additions and 3 deletions
|
|
@ -7,5 +7,5 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
libcosmic = { path = "../..", default-features = false, features = ["wayland", "tokio", "a11y"] }
|
||||
cosmic-time = { git = "https://github.com/pop-os/cosmic-time", rev="8ab038b", default-features = false, features = ["libcosmic", "once_cell"] }
|
||||
cosmic-time = { git = "https://github.com/pop-os/cosmic-time", rev="178637c", default-features = false, features = ["libcosmic", "once_cell"] }
|
||||
# cosmic-time = { path = "../../../cosmic-time", default-features = false, features = ["libcosmic", "once_cell"] }
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ once_cell = "1.18"
|
|||
slotmap = "1.0.6"
|
||||
env_logger = "0.10"
|
||||
log = "0.4.17"
|
||||
cosmic-time = { git = "https://github.com/pop-os/cosmic-time", rev="8ab038b", default-features = false, features = ["libcosmic", "once_cell"] }
|
||||
cosmic-time = { git = "https://github.com/pop-os/cosmic-time", rev="178637c", default-features = false, features = ["libcosmic", "once_cell"] }
|
||||
|
|
|
|||
|
|
@ -466,7 +466,7 @@ impl State {
|
|||
&timeline,
|
||||
self.cards
|
||||
.iter()
|
||||
.map(|c| text(c).size(24).width(Length::Fill).into())
|
||||
.map(|c| column![text("test"), text(c).size(24).width(Length::Fill)].into())
|
||||
.collect(),
|
||||
Message::ClearAll,
|
||||
|_, e| Message::CardsToggled(e),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue