{taskTitle ?? t("task:taskDetails")}
- {displayBranch && (
-
-
- {displayBranch}
- {(totalAdditions > 0 || totalDeletions > 0) && (
-
- )}
-
- )}
+ {/* The phone bar has no breadcrumb, so the repository rides the same
+ secondary line as the branch. It shrinks first: on a phone the branch
+ and diff stats are the denser signal, and the full name stays in
+ `title`. */}
+
+ {repositoryLabel && (
+
+ {repositoryLabel}
+
+ )}
+ {displayBranch && (
+ <>
+
+
+ {displayBranch}
+
+ {(totalAdditions > 0 || totalDeletions > 0) && (
+
+ )}
+ >
+ )}
+
);
}
@@ -494,6 +515,7 @@ export const SessionMobileTopBar = memo(function SessionMobileTopBar(