@@ -125,7 +125,7 @@ fun HeadlinesEditContent(
125125 tint = Colors .Brand ,
126126 modifier = Modifier
127127 .size(32 .dp)
128- .testTag(" title_toggle_icon" ),
128+ .testTag(" title_toggle_icon" )
129129 )
130130 }
131131 }
@@ -160,7 +160,7 @@ fun HeadlinesEditContent(
160160 tint = if (headlinePreferences.showSource) Colors .Brand else Colors .White50 ,
161161 modifier = Modifier
162162 .size(32 .dp)
163- .testTag(" source_toggle_icon" ),
163+ .testTag(" source_toggle_icon" )
164164 )
165165 }
166166 }
@@ -195,7 +195,7 @@ fun HeadlinesEditContent(
195195 tint = if (headlinePreferences.showTime) Colors .Brand else Colors .White50 ,
196196 modifier = Modifier
197197 .size(32 .dp)
198- .testTag(" time_toggle_icon" ),
198+ .testTag(" time_toggle_icon" )
199199 )
200200 }
201201 }
@@ -215,21 +215,21 @@ fun HeadlinesEditContent(
215215 ) {
216216 SecondaryButton (
217217 text = stringResource(R .string.common__reset),
218- modifier = Modifier
219- .weight(1f )
220- .testTag(" WidgetEditReset" ),
221218 enabled = ! headlinePreferences.showSource || ! headlinePreferences.showTime,
222219 fullWidth = false ,
223- onClick = onClickReset
220+ onClick = onClickReset,
221+ modifier = Modifier
222+ .weight(1f )
223+ .testTag(" WidgetEditReset" )
224224 )
225225
226226 PrimaryButton (
227227 text = stringResource(R .string.common__preview),
228+ fullWidth = false ,
229+ onClick = onClickPreview,
228230 modifier = Modifier
229231 .weight(1f )
230- .testTag(" WidgetEditPreview" ),
231- fullWidth = false ,
232- onClick = onClickPreview
232+ .testTag(" WidgetEditPreview" )
233233 )
234234 }
235235 }
0 commit comments