Skip to content

Conversation

@irdkwmnsb
Copy link
Collaborator

@irdkwmnsb irdkwmnsb commented Mar 28, 2025

Cleanups and several fixes

@irdkwmnsb irdkwmnsb requested a review from a team as a code owner March 28, 2025 09:35
@irdkwmnsb irdkwmnsb changed the title Malzhanov/ios refactor Ios pre-prod refactor so everything works Mar 28, 2025
this.isInstalling = true

const type = file.name.split('.').pop() || 'apk'
const type = file.name.split('.').pop() == 'apk' ? 'apk' : 'blob'
Copy link

@oshcherbakovv oshcherbakovv Mar 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше всегда строгое равенство использовать. Здесь все будет норм, но лучше избегать ненужное приведение типов

})
const install = await (async (): Promise<InitializeTransactionReturn> => {
if (this.device?.ios === true) {
return await this.deviceControlStore.installIos({
Copy link

@oshcherbakovv oshcherbakovv Mar 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему-то я оставил deviceControlStore.installIos и deviceControlStore.install, они два абсолютно одинаковых метода. Мне кажется можно оставить один и использовать его

@DaniilSmirnov DaniilSmirnov self-requested a review March 31, 2025 06:47
@irdkwmnsb irdkwmnsb merged commit e103cd5 into master Mar 31, 2025
3 checks passed
@DaniilSmirnov DaniilSmirnov deleted the malzhanov/ios-refactor branch April 18, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants