Skip to content

Commit

Permalink
Move to just http_cats.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Sep 3, 2024
1 parent 4276f45 commit ee4856f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion xilem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ name = "http_cats"

[[example]]
name = "http_cats_android"
path = "examples/http_cats/main.rs"
path = "examples/http_cats.rs"
# cdylib is required for cargo-apk
crate-type = ["cdylib"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ impl Status {
FlexSpacer::Fixed(10.),
image,
// TODO: Overlay on top of the image?
prose("Copyright ©️ https://http.cat").alignment(TextAlignment::End),
// HACK: Trailing spaces workaround scrollbar covering content
prose("Copyright ©️ https://http.cat ").alignment(TextAlignment::End),
))
.main_axis_alignment(xilem::view::MainAxisAlignment::Start)
.cross_axis_alignment(CrossAxisAlignment::Fill)
.must_fill_major_axis(true)
}
}

Expand Down
4 changes: 0 additions & 4 deletions xilem/examples/http_cats/README.md

This file was deleted.

0 comments on commit ee4856f

Please sign in to comment.