Skip to content

Commit

Permalink
Release fixes (#1886)
Browse files Browse the repository at this point in the history
* Fix ens resolution for minified builds
* Handle #1885
* Remove scroll flags on key export page
  • Loading branch information
elgatovital authored Jan 10, 2023
1 parent 15260a3 commit b2af7cb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ android {
buildConfigField javaTypes.STRING, "INTERCOM_APP_ID", asString(getKey("INTERCOM_APP_ID", ""))
buildConfigField javaTypes.STRING, "INTERCOM_API_KEY", asString(getKey("INTERCOM_API_KEY", ""))
// Services
buildConfigField javaTypes.STRING, "BLOCKCHAIN_NET_URL", asString(getKey("BLOCKCHAIN_NET_URL", "https://rinkeby.infura.io/v3/"))
buildConfigField javaTypes.STRING, "BLOCKCHAIN_NET_URL", asString(getKey("BLOCKCHAIN_NET_URL", "https://goerli.infura.io/v3/"))
// Blockchain settings
buildConfigField javaTypes.STRING, "BLOCKCHAIN_NAME", asString(getKey("BLOCKCHAIN_NAME", "Rinkeby"))
buildConfigField javaTypes.STRING, "BLOCKCHAIN_NAME", asString(getKey("BLOCKCHAIN_NAME", "Goerli"))
// Certificates
buildConfigField javaTypes.MAP, "SSL_PINS", getKey("SSL_PINS",
"new ${javaTypes.MAP}()" +
Expand Down
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
-keep @interface pm.gnosis.heimdall.data.adapters.DecimalNumber
-keep @interface pm.gnosis.heimdall.data.adapters.BigDecimalNumber

-keep interface pm.gnosis.ethereum.rpc.models.** { *; }
-keep class pm.gnosis.ethereum.rpc.models.** { *; }

-keep interface io.gnosis.data.models.** { *; }
-keep class io.gnosis.data.models.** { *; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import io.gnosis.data.models.Safe
import io.gnosis.data.repositories.SafeRepository
import io.gnosis.safe.ui.base.AppDispatchers
import io.gnosis.safe.ui.base.BaseStateViewModel
import kotlinx.coroutines.flow.collect
import javax.inject.Inject

class AssetsViewModel @Inject constructor(
Expand Down Expand Up @@ -33,6 +32,9 @@ class AssetsViewModel @Inject constructor(
updateState {
SafeBalancesState.TotalBalance(balance, null)
}
updateState {
SafeBalancesState.ActiveSafe(activeSafe, null)
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class CoinsFragment : BaseViewBindingFragment<FragmentCoinsBinding>() {
coins.layoutManager = LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false)
refresh.setOnRefreshListener { viewModel.load(true) }
}
viewModel.state.observe(viewLifecycleOwner, Observer { state ->
viewModel.state.observe(viewLifecycleOwner) { state ->
when (state) {
is CoinsState -> {
binding.progress.visible(state.loading)
Expand Down Expand Up @@ -97,7 +97,7 @@ class CoinsFragment : BaseViewBindingFragment<FragmentCoinsBinding>() {
}
}
}
})
}
}

override fun onResume() {
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/layout/fragment_owner_export.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_scrollFlags="scroll|enterAlways">
app:layout_constraintTop_toTopOf="parent">

<ImageButton
android:id="@+id/back_button"
Expand Down

0 comments on commit b2af7cb

Please sign in to comment.