add brand theme
This commit is contained in:
@@ -303,7 +303,7 @@ impl CommitDiffView {
|
||||
};
|
||||
|
||||
let body: AnyElement = if file.binary {
|
||||
placeholder("Binary file — diff not available", cx)
|
||||
placeholder("Diff not available", cx)
|
||||
} else if file.hunks.is_empty() {
|
||||
placeholder("No content changes", cx)
|
||||
} else {
|
||||
@@ -525,7 +525,6 @@ impl CommitDiffView {
|
||||
.text_xs()
|
||||
.child(
|
||||
Tag::primary()
|
||||
.outline()
|
||||
.small()
|
||||
.child(format!("{files} files changed")),
|
||||
)
|
||||
|
||||
@@ -1212,7 +1212,6 @@ impl Render for RepoDetailView {
|
||||
v_flex()
|
||||
.id("repo")
|
||||
.size_full()
|
||||
.gap_4()
|
||||
.child(self.render_header(cx))
|
||||
.map(|this| match self.active_tab {
|
||||
0 => this.child(
|
||||
|
||||
Reference in New Issue
Block a user