Skip to content

Commit

Permalink
feat(YouTube/Overlay buttons): change patch options inotia00/ReVanced…
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 5, 2024
1 parent faa112e commit 5823acc
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ object OverlayButtonsPatch : BaseResourcePatch(
),
compatiblePackages = COMPATIBLE_PACKAGE
) {
private const val DEFAULT_MARGIN = "0.0dip"
private const val WIDER_MARGIN = "6.0dip"
private const val MARGIN_NONE = "0.0dip"
private const val MARGIN_DEFAULT = "2.5dip"
private const val MARGIN_WIDER = "5.0dip"

private const val DEFAULT_ICON = "bold"

Expand All @@ -58,10 +59,11 @@ object OverlayButtonsPatch : BaseResourcePatch(
// Option to set bottom margin
private val BottomMargin = stringPatchOption(
key = "BottomMargin",
default = DEFAULT_MARGIN,
default = MARGIN_DEFAULT,
values = mapOf(
"Wider" to WIDER_MARGIN,
"Default" to DEFAULT_MARGIN
"Default" to MARGIN_DEFAULT,
"None" to MARGIN_NONE,
"Wider" to MARGIN_WIDER,
),
title = "Bottom margin",
description = "The bottom margin for the overlay buttons and timestamp.",
Expand Down

0 comments on commit 5823acc

Please sign in to comment.