Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fixed naming; advanceSettings => advancedSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton committed Mar 12, 2017
1 parent b520999 commit a6382a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const {paymentCommon} = require('../../styles/payment')
// other
const settings = require('../../../../../js/constants/settings')

class AdvanceSettingsContent extends ImmutableComponent {
class AdvancedSettingsContent extends ImmutableComponent {
render () {
const minDuration = this.props.ledgerData.getIn(['synopsisOptions', 'minDuration'])
const minPublisherVisits = this.props.ledgerData.getIn(['synopsisOptions', 'minPublisherVisits'])
Expand Down Expand Up @@ -87,7 +87,7 @@ class AdvanceSettingsContent extends ImmutableComponent {
}
}

class AdvanceSettingsFooter extends ImmutableComponent {
class AdvancedSettingsFooter extends ImmutableComponent {
render () {
return <div className={css(paymentCommon.advanceFooter)}>
<Button l10nId='backupLedger'
Expand Down Expand Up @@ -143,6 +143,6 @@ const styles = StyleSheet.create({
})

module.exports = {
AdvanceSettingsContent,
AdvanceSettingsFooter
AdvancedSettingsContent,
AdvancedSettingsFooter
}
6 changes: 3 additions & 3 deletions app/renderer/components/preferences/paymentsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const {SettingCheckbox} = require('../settings')
const DisabledContent = require('./payment/disabledContent')
const EnabledContent = require('./payment/enabledContent')
const BitcoinDashboard = require('./payment/bitcoinDashboard')
const {AdvanceSettingsContent, AdvanceSettingsFooter} = require('./payment/advanceSettings')
const {AdvancedSettingsContent, AdvancedSettingsFooter} = require('./payment/advancedSettings')
const {HistoryContent, HistoryFooter} = require('./payment/history')
const {LedgerBackupContent, LedgerBackupFooter} = require('./payment/ledgerBackup')
const {LedgerRecoveryContent, LedgerRecoveryFooter} = require('./payment/ledgerRecovery')
Expand Down Expand Up @@ -106,12 +106,12 @@ class PaymentsTab extends ImmutableComponent {
this.enabled && this.props.advancedSettingsOverlayVisible
? <ModalOverlay
title={'advancedSettingsTitle'}
content={<AdvanceSettingsContent
content={<AdvancedSettingsContent
ledgerData={this.props.ledgerData}
settings={this.props.settings}
onChangeSetting={this.props.onChangeSetting}
/>}
footer={<AdvanceSettingsFooter
footer={<AdvancedSettingsFooter
showOverlay={this.props.showOverlay}
hideOverlay={this.props.hideOverlay}
/>}
Expand Down

0 comments on commit a6382a6

Please sign in to comment.