Skip to content

Fix boosted tx restore and migration from RN

085c69f
Select commit
Loading
Failed to load commit list.
Open

feat: support RN app migration #561

Fix boosted tx restore and migration from RN
085c69f
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / detekt succeeded Jan 1, 2026 in 2s

5 new alerts

New alerts in code changed by this pull request

  • 5 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 1043 in app/src/main/java/to/bitkit/services/MigrationService.kt

See this annotation in the file changed.

Code scanning / detekt

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 176 in app/src/main/java/to/bitkit/services/RNBackupClient.kt

See this annotation in the file changed.

Code scanning / detekt

The loop contains more than one break or continue statement. The code should be refactored to increase readability. Warning

The loop contains more than one break or continue statement. The code should be refactored to increase readability.

Check warning on line 305 in app/src/main/java/to/bitkit/services/RNBackupClient.kt

See this annotation in the file changed.

Code scanning / detekt

Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning

This expression contains a magic number. Consider defining it to a well named constant.

Check warning on line 306 in app/src/main/java/to/bitkit/services/RNBackupClient.kt

See this annotation in the file changed.

Code scanning / detekt

Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning

This expression contains a magic number. Consider defining it to a well named constant.

Check warning on line 187 in app/src/main/java/to/bitkit/viewmodels/WalletViewModel.kt

See this annotation in the file changed.

Code scanning / detekt

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.