Skip to content

Commit dc41c4c

Browse files
authored
Merge pull request #1801 from numbersprotocol/build-bump-0.60.2
Build bump 0.60.2
2 parents f71bc4b + 9eaf2ef commit dc41c4c

File tree

7 files changed

+26
-10
lines changed

7 files changed

+26
-10
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.60.2 - 2022-07-07
9+
10+
### Changed
11+
12+
- Hide deposit button on wallets page for iOS
13+
14+
### Fixed
15+
16+
- Fix withdraw page the text color
17+
818
## 0.60.1 - 2022-07-06
919

1020
### Fixed

android/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ android {
66
applicationId "io.numbersprotocol.capturelite"
77
minSdkVersion rootProject.ext.minSdkVersion
88
targetSdkVersion rootProject.ext.targetSdkVersion
9-
versionCode 421
10-
versionName "0.60.1"
9+
versionCode 422
10+
versionName "0.60.2"
1111
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1212
}
1313
buildFeatures {

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "capture-lite",
3-
"version": "0.60.1",
3+
"version": "0.60.2",
44
"author": "numbersprotocol",
55
"homepage": "https://numbersprotocol.io/",
66
"scripts": {

src/app/features/wallets/transfer/transfer.page.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</mat-toolbar>
77

88
<ion-content *transloco="let t">
9-
<div *ngIf="mode === 'deposit'">
9+
<ng-container *ngIf="mode === 'deposit'">
1010
<div class="vertical-pacing-12"></div>
1111
<div class="asset-wallet-qr-code-container">
1212
{{ t('wallets.myAssetWalletQRCode') }}
@@ -47,9 +47,9 @@
4747
</button>
4848
</mat-list-item>
4949
</mat-list>
50-
</div>
50+
</ng-container>
5151

52-
<div *ngIf="mode === 'withdraw'">
52+
<ng-container *ngIf="mode === 'withdraw'">
5353
<ion-card id="main-card">
5454
<ion-grid>
5555
<ion-row id="in-app-transfer-row">
@@ -167,5 +167,5 @@ <h4 class="wallet-total-text">
167167
</ion-row>
168168
</ion-grid>
169169
</ion-card>
170-
</div>
170+
</ng-container>
171171
</ion-content>

src/app/features/wallets/wallets.page.html

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ <h3 class="num-text">NUM</h3>
5757
>{{ t('buy') }} NUM</ion-button
5858
>
5959
<ion-button
60+
*ngIf="shouldHideDepositButton === false"
6061
class="deposit-withdraw-num-btn num-operation-btn"
6162
color="#7E7E7E"
6263
fill="outline"

src/app/features/wallets/wallets.page.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { DomSanitizer } from '@angular/platform-browser';
66
import { Router } from '@angular/router';
77
import { Browser } from '@capacitor/browser';
88
import { Clipboard } from '@capacitor/clipboard';
9+
import { Platform } from '@ionic/angular';
910
import { TranslocoService } from '@ngneat/transloco';
1011
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
1112
import { NgxQrcodeElementTypes } from '@techiediaries/ngx-qrcode';
@@ -50,6 +51,7 @@ export class WalletsPage {
5051
readonly networkConnected$ = this.diaBackendWalletService.networkConnected$;
5152

5253
elementType = NgxQrcodeElementTypes.URL;
54+
shouldHideDepositButton = false;
5355

5456
constructor(
5557
private readonly diaBackendWalletService: DiaBackendWalletService,
@@ -62,7 +64,8 @@ export class WalletsPage {
6264
private readonly confirmAlert: ConfirmAlert,
6365
private readonly dialog: MatDialog,
6466
private readonly errorService: ErrorService,
65-
private readonly router: Router
67+
private readonly router: Router,
68+
private readonly platform: Platform
6669
) {
6770
this.matIconRegistry.addSvgIcon(
6871
'wallet',
@@ -80,6 +83,8 @@ export class WalletsPage {
8083
untilDestroyed(this)
8184
)
8285
.subscribe(totalBalance => this.totalBalance$.next(totalBalance));
86+
87+
this.shouldHideDepositButton = this.platform.is('ios');
8388
}
8489

8590
// eslint-disable-next-line class-methods-use-this

0 commit comments

Comments
 (0)