Skip to content

Commit

Permalink
Shut down Ivy Cloud UX
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Nov 14, 2022
1 parent c8032de commit 37ae6d9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class CustomerJourneyLogic(

companion object {
val ACTIVE_CARDS = listOf(
ivyCloudNuke(),
adjustBalanceCard(),
addPlannedPaymentCard(),
didYouKnow_pinAddTransactionWidgetCard(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.content.Context
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.ivy.frp.test.TestIdlingResource
import com.ivy.frp.view.navigation.Navigation
import com.ivy.wallet.domain.deprecated.logic.zip.ExportZipLogic
import com.ivy.wallet.io.persistence.SharedPrefs
import com.ivy.wallet.ui.IvyWalletCtx
Expand All @@ -23,6 +24,7 @@ class ServerStopViewModel @Inject constructor(
private val ivyContext: IvyWalletCtx,
private val sharedPrefs: SharedPrefs,
private val exportZipLogic: ExportZipLogic,
private val navigation: Navigation,
) : ViewModel() {
private val exportInProgress = MutableStateFlow(false)

Expand Down Expand Up @@ -56,6 +58,7 @@ class ServerStopViewModel @Inject constructor(
(context as RootActivity).shareZipFile(
fileUri = fileUri
)
navigation.back()
}

TestIdlingResource.decrement()
Expand Down
32 changes: 16 additions & 16 deletions app/src/main/java/com/ivy/wallet/ui/settings/SettingsScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -233,16 +233,16 @@ private fun BoxWithConstraintsScope.UI(
// Premium()
}

item {
SettingsSectionDivider(text = "Sync")

Spacer(Modifier.height(16.dp))

FetchMissingTransactionsButton(
opFetchTrns = opFetchTrns,
onFetchMissingTransactions = onFetchMissingTransactions
)
}
// item {
// SettingsSectionDivider(text = "Sync")
//
// Spacer(Modifier.height(16.dp))
//
// FetchMissingTransactionsButton(
// opFetchTrns = opFetchTrns,
// onFetchMissingTransactions = onFetchMissingTransactions
// )
// }

item {
SettingsSectionDivider(text = stringResource(R.string.import_export))
Expand Down Expand Up @@ -759,12 +759,12 @@ private fun AccountCard(
onLogout()
}
} else {
AccountCardButton(
icon = R.drawable.ic_login,
text = stringResource(R.string.login)
) {
onLogin()
}
// AccountCardButton(
// icon = R.drawable.ic_login,
// text = stringResource(R.string.login)
// ) {
// onLogin()
// }
}

Spacer(Modifier.width(16.dp))
Expand Down

0 comments on commit 37ae6d9

Please sign in to comment.