Skip to content

Commit

Permalink
Update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Jul 20, 2023
1 parent a5dbd68 commit ee521ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BTCPayServer/Data/StoreBlob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public RateRules GetDefaultRateRules(BTCPayNetworkProvider networkProvider)

[DefaultValue(true)]
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
public bool PlaySoundOnPayment { get; set; } = true;
public bool PlaySoundOnPayment { get; set; } = false;

public string SoundFileId { get; set; }

Expand Down
2 changes: 2 additions & 0 deletions BTCPayServer/Views/UIStores/CheckoutAppearance.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@
$("#UseClassicCheckout").prop('checked', false);
$("#CheckoutV2Settings").addClass('show');
$("#ClassicCheckoutSettings").removeClass('show');
$("#PlaySoundOnPayment").prop('checked', true);
$("#ShowPayInWalletButton").prop('checked', false);
$("#ShowStoreHeader").prop('checked', false);
});
delegate('click', '#Presets_Online', e => {
$("#UseClassicCheckout").prop('checked', false);
$("#CheckoutV2Settings").addClass('show');
$("#ClassicCheckoutSettings").removeClass('show');
$("#PlaySoundOnPayment").prop('checked', false);
$("#ShowPayInWalletButton").prop('checked', true);
$("#ShowStoreHeader").prop('checked', true);
});
Expand Down

0 comments on commit ee521ac

Please sign in to comment.