File tree 1 file changed +2
-3
lines changed
src/main/kotlin/app/revanced/patches/youtube/player/overlaybuttons
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,7 @@ object OverlayButtonsPatch : BaseResourcePatch(
212
212
" @id/timestamps_container" to " 14.0dip"
213
213
)
214
214
215
- val widerButtonsSpace = WiderButtonsSpace == true
216
- val layoutHeightWidth = if (widerButtonsSpace)
215
+ val layoutHeightWidth = if (WiderButtonsSpace == true )
217
216
" 56.0dip"
218
217
else
219
218
" 48.0dip"
@@ -227,7 +226,7 @@ object OverlayButtonsPatch : BaseResourcePatch(
227
226
node.setAttribute(" android:layout_height" , layoutHeightWidth)
228
227
node.setAttribute(" android:layout_width" , layoutHeightWidth)
229
228
}
230
- } else if (! widerButtonsSpace && timBarItem.containsKey(id)) {
229
+ } else if (timBarItem.containsKey(id)) {
231
230
node.setAttribute(" android:layout_marginBottom" , marginBottom)
232
231
node.setAttribute(" android:paddingBottom" , timBarItem.getValue(id))
233
232
}
You can’t perform that action at this time.
0 commit comments