diff --git a/menu/src/main/java/ua/gov/diia/menu/MenuContentController.kt b/menu/src/main/java/ua/gov/diia/menu/MenuContentController.kt index b07044d..172cebc 100644 --- a/menu/src/main/java/ua/gov/diia/menu/MenuContentController.kt +++ b/menu/src/main/java/ua/gov/diia/menu/MenuContentController.kt @@ -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 ) ) ) diff --git a/menu/src/main/java/ua/gov/diia/menu/ui/MenuActionsKey.kt b/menu/src/main/java/ua/gov/diia/menu/ui/MenuActionsKey.kt index b389eb0..84a7968 100644 --- a/menu/src/main/java/ua/gov/diia/menu/ui/MenuActionsKey.kt +++ b/menu/src/main/java/ua/gov/diia/menu/ui/MenuActionsKey.kt @@ -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" diff --git a/menu/src/main/java/ua/gov/diia/menu/ui/MenuComposeVM.kt b/menu/src/main/java/ua/gov/diia/menu/ui/MenuComposeVM.kt index cb1663a..3bfac2c 100644 --- a/menu/src/main/java/ua/gov/diia/menu/ui/MenuComposeVM.kt +++ b/menu/src/main/java/ua/gov/diia/menu/ui/MenuComposeVM.kt @@ -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 @@ -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 diff --git a/menu/src/test/java/ua/gov/diia/menu/ui/MenuComposeVMTest.kt b/menu/src/test/java/ua/gov/diia/menu/ui/MenuComposeVMTest.kt index 74f2d4d..2fd2a63 100644 --- a/menu/src/test/java/ua/gov/diia/menu/ui/MenuComposeVMTest.kt +++ b/menu/src/test/java/ua/gov/diia/menu/ui/MenuComposeVMTest.kt @@ -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)))