mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Only wrap the input in theme
This commit is contained in:
parent
4e9cd40062
commit
6173d479dd
1 changed files with 203 additions and 203 deletions
|
|
@ -83,7 +83,6 @@ function SettingsPage:render()
|
||||||
return layoutOrder
|
return layoutOrder
|
||||||
end
|
end
|
||||||
|
|
||||||
return Theme.with(function(theme)
|
|
||||||
return Roact.createFragment({
|
return Roact.createFragment({
|
||||||
Navbar = e(Navbar, {
|
Navbar = e(Navbar, {
|
||||||
onBack = self.props.onBack,
|
onBack = self.props.onBack,
|
||||||
|
|
@ -180,7 +179,8 @@ function SettingsPage:render()
|
||||||
description = "Manage permissions for third party plugins",
|
description = "Manage permissions for third party plugins",
|
||||||
transparency = self.props.transparency,
|
transparency = self.props.transparency,
|
||||||
layoutOrder = layoutIncrement(),
|
layoutOrder = layoutIncrement(),
|
||||||
input = e("TextButton", {
|
input = Theme.with(function(theme)
|
||||||
|
return e("TextButton", {
|
||||||
Text = "",
|
Text = "",
|
||||||
BackgroundTransparency = 1,
|
BackgroundTransparency = 1,
|
||||||
Size = UDim2.fromOffset(28, 28),
|
Size = UDim2.fromOffset(28, 28),
|
||||||
|
|
@ -209,7 +209,8 @@ function SettingsPage:render()
|
||||||
BackgroundTransparency = 1,
|
BackgroundTransparency = 1,
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
}),
|
})
|
||||||
|
end),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
PlaySounds = e(Setting, {
|
PlaySounds = e(Setting, {
|
||||||
|
|
@ -326,7 +327,6 @@ function SettingsPage:render()
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return SettingsPage
|
return SettingsPage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue