Skip to content

Commit

Permalink
- [b22df4d] default to bisq core settings value for DEFAULT_NUM_DAYS…
Browse files Browse the repository at this point in the history
…_AFTER_REDACTING_TRADE_DATA

 - [401fc11] fix compilation error of android node
 - [2c231f5] remove unused files
 - [75f9c1a] Add numDaysAfterRedactingTradeData to be in sync with bisq-network/bisq2#3134
  • Loading branch information
HenrikJannsen authored and rodvar committed Feb 6, 2025
1 parent 68f7e2a commit 4f1fa89
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,8 @@ class Mappings {
settingsService.supportedLanguageCodes,
settingsService.maxTradePriceDeviation.get(),
settingsService.useAnimations.get(),
MarketMapping.fromBisq2Model(settingsService.selectedMarket.get())
MarketMapping.fromBisq2Model(settingsService.selectedMarket.get()),
SettingsService.DEFAULT_NUM_DAYS_AFTER_REDACTING_TRADE_DATA
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ data class SettingsChangeRequest(
val chatNotificationType: ChatChannelNotificationTypeEnum? = null,
val maxTradePriceDeviation: Double? = null,
val useAnimations: Boolean? = null,
val selectedMarket: MarketVO? = null
val selectedMarket: MarketVO? = null,
val numDaysAfterRedactingTradeData: Int? = null,
)

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ data class SettingsVO(
val supportedLanguageCodes: Set<String>,
val maxTradePriceDeviation: Double,
val useAnimations: Boolean = true,
val selectedMarket: MarketVO
)
val selectedMarket: MarketVO,
val numDaysAfterRedactingTradeData: Int
)

0 comments on commit 4f1fa89

Please sign in to comment.