diff --git a/src/screens/profile/screen/profileScreen.js b/src/screens/profile/screen/profileScreen.js
index 137b58fe6..a4d3c0e17 100644
--- a/src/screens/profile/screen/profileScreen.js
+++ b/src/screens/profile/screen/profileScreen.js
@@ -33,6 +33,7 @@ class ProfileScreen extends PureComponent {
isSummaryOpen: true,
collapsibleMoreHeight: 0,
estimatedWalletValue: 0,
+ oldEstimatedWalletValue: 0,
};
}
@@ -81,7 +82,9 @@ class ProfileScreen extends PureComponent {
getReplies,
} = this.props;
- const { isSummaryOpen, collapsibleMoreHeight, estimatedWalletValue } = this.state;
+ const {
+ isSummaryOpen, collapsibleMoreHeight, estimatedWalletValue, oldEstimatedWalletValue,
+ } = this.state;
let _about;
let coverImage;
@@ -163,6 +166,14 @@ class ProfileScreen extends PureComponent {
renderTabBar={() => (
)}
+ onChangeTab={({ i }) => {
+ if (i !== 2) {
+ this.setState({
+ estimatedWalletValue: 0,
+ oldEstimatedWalletValue: estimatedWalletValue,
+ });
+ } else this.setState({ estimatedWalletValue: oldEstimatedWalletValue });
+ }}
>