Skip to content

Commit

Permalink
Merge pull request #138 from murphyne/patch-1
Browse files Browse the repository at this point in the history
Fix Rewarded Ad ID field
  • Loading branch information
sametguzeldev authored Apr 27, 2021
2 parents 6cf0c2c + 1e1c53e commit c17591a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Huawei/Editor/View/AdsTab/HMSAdsSettingsDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public HMSAdsSettingsDrawer()
_interstitialAdsDisabledDrawer = new DisabledDrawer(_interstitialAdsTextField).SetEnabled(!_enableInterstitialAdsToggle.IsChecked());

_enableRewardedAdsToggle = new Toggle.Toggle("Enable Rewarded Ads", _settings.GetBool(HMSAdsKitSettings.EnableRewardedAd), OnRewardedAdsToggleChanged, false);
_rewardedAdsTextField = new TextFieldWithAccept("Interstitial Ad ID", _settings.Get(HMSAdsKitSettings.InterstitialAdID), "Save", OnRewardedAdIDSaveButtonClick).SetLabelWidth(0).SetButtonWidth(100);
_rewardedAdsTextField = new TextFieldWithAccept("Rewarded Ad ID", _settings.Get(HMSAdsKitSettings.RewardedAdID), "Save", OnRewardedAdIDSaveButtonClick).SetLabelWidth(0).SetButtonWidth(100);
_rewardedAdsDisabledDrawer = new DisabledDrawer(_rewardedAdsTextField).SetEnabled(!_enableRewardedAdsToggle.IsChecked());

_testAdstoggle = new Toggle.Toggle("Use Test Ads*", _settings.GetBool(HMSAdsKitSettings.UseTestAds), OnTestAdsToggleChanged);
Expand Down

0 comments on commit c17591a

Please sign in to comment.