mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Update files
This commit is contained in:
@@ -239,6 +239,7 @@ function SidebarAgentRow({
|
||||
const showArchive = canArchive &&
|
||||
shortcutNumber === null &&
|
||||
(isHovered || isArchiveHovered || isArchiveConfirmVisible);
|
||||
const reserveArchiveSlot = canArchive && shortcutNumber === null && !activeBranchLabel;
|
||||
|
||||
return (
|
||||
<Pressable
|
||||
@@ -336,6 +337,8 @@ function SidebarAgentRow({
|
||||
{activeBranchLabel}
|
||||
</Text>
|
||||
</View>
|
||||
) : reserveArchiveSlot ? (
|
||||
<View style={[styles.branchBadge, styles.branchBadgePlaceholder]} />
|
||||
) : null}
|
||||
</View>
|
||||
</View>
|
||||
@@ -732,6 +735,10 @@ const styles = StyleSheet.create((theme) => ({
|
||||
color: theme.colors.foregroundMuted,
|
||||
lineHeight: 12,
|
||||
},
|
||||
branchBadgePlaceholder: {
|
||||
opacity: 0,
|
||||
borderColor: "transparent",
|
||||
},
|
||||
archiveConfirmBadge: {
|
||||
minWidth: 76,
|
||||
maxWidth: 9999,
|
||||
|
||||
Reference in New Issue
Block a user