Skip to content

Commit

Permalink
fix(mobile): show less charges when gift battery for friend (#851)
Browse files Browse the repository at this point in the history
* fix(mobile): show less charges when gift battery for friend

* bump codeVersion
  • Loading branch information
voloshinskii authored May 15, 2024
1 parent 527d869 commit 9615d6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ android {
applicationId "com.ton_keeper"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 433
versionCode 600
versionName "4.5.0"
missingDimensionStrategy 'react-native-camera', 'general'
missingDimensionStrategy 'store', 'play'
Expand Down
4 changes: 2 additions & 2 deletions packages/mobile/ios/ton_keeper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = ton_keeper/ton_keeper.entitlements;
CURRENT_PROJECT_VERSION = 433;
CURRENT_PROJECT_VERSION = 600;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = CT523DK2KC;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -1323,7 +1323,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = ton_keeper/ton_keeper.entitlements;
CURRENT_PROJECT_VERSION = 433;
CURRENT_PROJECT_VERSION = 600;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = CT523DK2KC;
INFOPLIST_FILE = ton_keeper/SupportingFiles/Info.plist;
Expand Down
4 changes: 2 additions & 2 deletions packages/mobile/src/core/BatterySend/BatterySend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export const BatterySend: React.FC<BatterySendProps> = ({ route }) => {
const [isManualAmountInput, setIsManualAmountInput] = useState(false);

const shouldMinusReservedAmount =
useExternalState(tk.wallet.battery.state, (state) => state.reservedBalance) === '0' &&
!!initialRecipientAddress;
useExternalState(tk.wallet.battery.state, (state) => state.reservedBalance) === '0' ||
!initialRecipientAddress;

const [selectedJettonMaster, setSelectedJettonMaster] = useState<string | undefined>(
initialJettonMaster,
Expand Down

0 comments on commit 9615d6f

Please sign in to comment.