diff --git a/app/src/main/java/moe/tqlwsl/aicemu/MainActivity.kt b/app/src/main/java/moe/tqlwsl/aicemu/MainActivity.kt index 67f1add..4df8aa6 100644 --- a/app/src/main/java/moe/tqlwsl/aicemu/MainActivity.kt +++ b/app/src/main/java/moe/tqlwsl/aicemu/MainActivity.kt @@ -126,6 +126,12 @@ class MainActivity : AppCompatActivity() { return when (item.itemId) { R.id.toolbar_menu_hide_id -> { showCardID = !showCardID + item.title = if (showCardID) { + "Hide IDm" + } + else { + "Show IDm" + } checkCardIDShadow() true } diff --git a/app/src/main/res/menu/toolbar_menu.xml b/app/src/main/res/menu/toolbar_menu.xml index 3682ed2..47c0529 100644 --- a/app/src/main/res/menu/toolbar_menu.xml +++ b/app/src/main/res/menu/toolbar_menu.xml @@ -4,7 +4,7 @@ tools:context="moe.tqlwsl.aicemu.MainActivity"> + android:title="@string/show_idm" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 477f4c7..084e94a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2,7 +2,7 @@ AICEmu Rename Delete - Hide/Show IDm + Show IDm Settings add card edit card