From e9b5a2c9247b161f41ab33dd5633083de093c5c1 Mon Sep 17 00:00:00 2001 From: wannabit-yongjoo Date: Fri, 17 Sep 2021 18:38:42 +0900 Subject: [PATCH] Android - fix unbonding day for osmosis --- .../io/cosmostaion/fragment/DelegateStep3Fragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/fragment/DelegateStep3Fragment.java b/Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/fragment/DelegateStep3Fragment.java index 6d4803a4e..e60d7abe9 100644 --- a/Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/fragment/DelegateStep3Fragment.java +++ b/Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/fragment/DelegateStep3Fragment.java @@ -22,6 +22,7 @@ import static wannabit.io.cosmostaion.base.BaseChain.CRYPTO_MAIN; import static wannabit.io.cosmostaion.base.BaseChain.IOV_MAIN; import static wannabit.io.cosmostaion.base.BaseChain.IOV_TEST; +import static wannabit.io.cosmostaion.base.BaseChain.OSMOSIS_MAIN; import static wannabit.io.cosmostaion.base.BaseChain.SENTINEL_MAIN; import static wannabit.io.cosmostaion.base.BaseChain.isGRPC; @@ -95,6 +96,8 @@ public void onClick(View v) { Bundle bundle = new Bundle(); if (getSActivity().mBaseChain.equals(SENTINEL_MAIN) || getSActivity().mBaseChain.equals(CRYPTO_MAIN)) { bundle.putInt("day", 28); + } else if (getSActivity().mBaseChain.equals(OSMOSIS_MAIN)) { + bundle.putInt("day", 14); } else { bundle.putInt("day", 21); }