mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-16 22:00:17 -05:00
Rename variable
This commit is contained in:
parent
8ba246a349
commit
768356e11e
|
|
@ -72,7 +72,7 @@ void TwitchPointsRewardSelection::PopulateSelection()
|
|||
{
|
||||
auto token = _token.lock();
|
||||
|
||||
if (!token || !token->AnyOptionIsEnabled(SUPPORTED_TOKEN_OPTIONS)) {
|
||||
if (!token || !token->AnyOptionIsEnabled(_supportedTokenOptions)) {
|
||||
DisplayErrorMessage(obs_module_text(
|
||||
"AdvSceneSwitcher.twitch.selection.points.reward.tooltip.noPermission"));
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ private:
|
|||
std::vector<TwitchPointsReward> ParseResponse(obs_data_t *response);
|
||||
|
||||
bool _allowAny;
|
||||
const std::vector<TokenOption> SUPPORTED_TOKEN_OPTIONS = {
|
||||
const std::vector<TokenOption> _supportedTokenOptions = {
|
||||
{"channel:read:redemptions"},
|
||||
{"channel:manage:redemptions"}};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user