File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/main/kotlin/com/jetpackduba/gitnuro/ui/context_menu Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ fun branchContextMenuItems(
6868 onClick = onPullFromRemoteBranch
6969 )
7070 )
71+
72+ add(ContextMenuElement .ContextSeparator )
7173 }
7274
7375 if (isLocal) {
@@ -77,6 +79,8 @@ fun branchContextMenuItems(
7779 onClick = onChangeDefaultUpstreamBranch
7880 ),
7981 )
82+
83+ add(ContextMenuElement .ContextSeparator )
8084 }
8185
8286 if (! isLocal) {
@@ -87,6 +91,8 @@ fun branchContextMenuItems(
8791 onClick = onDeleteRemoteBranch
8892 ),
8993 )
94+
95+ add(ContextMenuElement .ContextSeparator )
9096 }
9197
9298 if (isLocal && ! isCurrentBranch) {
@@ -97,6 +103,8 @@ fun branchContextMenuItems(
97103 onClick = onDeleteBranch
98104 )
99105 )
106+
107+ add(ContextMenuElement .ContextSeparator )
100108 }
101109
102110 add(
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ fun showPopup(
254254fun Separator () {
255255 Box (
256256 modifier = Modifier
257- .padding(horizontal = 16 .dp, vertical = 8 .dp)
257+ .padding(horizontal = 16 .dp, vertical = 4 .dp)
258258 .fillMaxWidth()
259259 .height(1 .dp)
260260 .background(MaterialTheme .colors.onBackground.copy(alpha = 0.4f ))
You can’t perform that action at this time.
0 commit comments