@@ -35,7 +35,7 @@ struct SnipItemView<Content: View>: View {
3535 Image ( self . isExpanded ? " ic_up " : " ic_down " )
3636 . resizable ( )
3737 . renderingMode ( . template)
38- . colorMultiply ( self . appState . selectedSnippetId == self . viewModel . snipItem . id && self . appState . selectedSnippetFilter . case == self . viewModel . activeFilter . case ? . white : . text )
38+ . colorMultiply ( Color . BLUE_200 )
3939 . scaledToFit ( )
4040 . frame ( width: 10 , height: 10 , alignment: . center)
4141 Spacer ( )
@@ -44,7 +44,7 @@ struct SnipItemView<Content: View>: View {
4444 Image ( self . isExpanded ? " ic_folder_opened " : " ic_folder_closed " )
4545 . resizable ( )
4646 . renderingMode ( . template)
47- . colorMultiply ( self . appState . selectedSnippetId == self . viewModel . snipItem . id && self . appState . selectedSnippetFilter . case == self . viewModel . activeFilter . case ? . white : . text )
47+ . colorMultiply ( Color . BLUE_200 )
4848 . scaledToFit ( )
4949 . frame ( width: 15 , height: 15 , alignment: . center)
5050
@@ -126,12 +126,6 @@ struct SnipItemView<Content: View>: View {
126126 . scaledToFit ( )
127127 . frame ( width: 15 , height: 15 , alignment: . center)
128128 . padding ( . leading, 4 )
129- . overlay (
130- Circle ( )
131- . fill ( self . viewModel. snipItem. syncState == . local ? Color . clear : Color . green)
132- . frame ( width: 8 , height: 8 )
133- . offset ( x: 7 , y: 6 )
134- )
135129 TextField ( " Snip name " , text: Binding < String > (
136130 get: {
137131 self . viewModel. snipItem. name
@@ -152,6 +146,10 @@ struct SnipItemView<Content: View>: View {
152146 . frame ( maxWidth: . infinity, alignment: . leading)
153147 . background ( isEditingName ? . primary : Color . transparent)
154148 Spacer ( )
149+ Circle ( )
150+ . fill ( self . viewModel. snipItem. syncState == . local ? Color . clear : Color . green)
151+ . frame ( width: 8 , height: 8 )
152+ . padding ( . trailing, 8 )
155153 }
156154 . frame ( maxWidth: . infinity, alignment: . leading)
157155 . padding ( EdgeInsets ( top: 4 , leading: 0 , bottom: 4 , trailing: 0 ) )
0 commit comments