Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in open sign history #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions menu/src/main/java/ua/gov/diia/menu/MenuContentController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ class MenuContentController @Inject constructor() {
)
),
ListItemMlcData(
id = MenuActionsKey.OPEN_SIGNE_HISTORY,
id = MenuActionsKey.OPEN_SIGN_HISTORY,
label = UiText.StringResource(R.string.settings_signing_history),
iconLeft = UiIcon.DrawableResource(CommonDiiaResourceIcon.SOME_DOCS.code),
action = DataActionWrapper(
type = MenuActionsKey.OPEN_SIGNE_HISTORY
type = MenuActionsKey.OPEN_SIGN_HISTORY
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion menu/src/main/java/ua/gov/diia/menu/ui/MenuActionsKey.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object MenuActionsKey {
const val OPEN_PLAY_MARKET = "OpenPlayMarket"
const val OPEN_HELP = "OpenHelpAction"
const val OPEN_DIIA_ID = "OpenDiiaId"
const val OPEN_SIGNE_HISTORY = "OpenSignHistory"
const val OPEN_SIGN_HISTORY = "OpenSignHistory"
const val OPEN_APP_SESSIONS = "OpenAppSessions"
const val OPEN_SUPPORT = "OpenSupportAction"
const val OPEN_FAQ = "OpenFAQAction"
Expand Down
4 changes: 2 additions & 2 deletions menu/src/main/java/ua/gov/diia/menu/ui/MenuComposeVM.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_NOTIFICATION
import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_PLAY_MARKET
import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_POLICY
import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_SETTINGS
import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_SIGNE_HISTORY
import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_SIGN_HISTORY
import ua.gov.diia.menu.ui.MenuActionsKey.OPEN_SUPPORT
import ua.gov.diia.menu.ui.MenuActionsKey.SHARE_APP
import ua.gov.diia.ui_base.components.CommonDiiaResourceIcon
Expand Down Expand Up @@ -166,7 +166,7 @@ class MenuComposeVM @Inject constructor(
OPEN_PLAY_MARKET -> MenuAction.OpenPlayMarketAction
OPEN_HELP -> MenuAction.OpenHelpAction
OPEN_DIIA_ID -> MenuAction.OpenDiiaId
OPEN_SIGNE_HISTORY -> MenuAction.OpenSignHistory
OPEN_SIGN_HISTORY -> MenuAction.OpenSignHistory
OPEN_APP_SESSIONS -> MenuAction.OpenAppSessions
OPEN_SUPPORT -> MenuAction.OpenSupportAction
OPEN_FAQ -> MenuAction.OpenFAQAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class MenuComposeVMTest {
menuComposeVM.onUIAction(UIAction(UIActionKeysCompose.LIST_ITEM_GROUP_ORG, action = DataActionWrapper(MenuActionsKey.OPEN_DIIA_ID)))
Assert.assertEquals(MenuAction.OpenDiiaId, awaitItem().peekContent())

menuComposeVM.onUIAction(UIAction(UIActionKeysCompose.LIST_ITEM_GROUP_ORG, action = DataActionWrapper(MenuActionsKey.OPEN_SIGNE_HISTORY)))
menuComposeVM.onUIAction(UIAction(UIActionKeysCompose.LIST_ITEM_GROUP_ORG, action = DataActionWrapper(MenuActionsKey.OPEN_SIGN_HISTORY)))
Assert.assertEquals(MenuAction.OpenSignHistory, awaitItem().peekContent())

menuComposeVM.onUIAction(UIAction(UIActionKeysCompose.LIST_ITEM_GROUP_ORG, action = DataActionWrapper(MenuActionsKey.OPEN_APP_SESSIONS)))
Expand Down