Skip to content

Commit cb6b8e1

Browse files
committed
feat: Update egg shortcuts name
ref: #552 Signed-off-by: Hu Shenghao <dede.hu@qq.com>
1 parent 0d0f490 commit cb6b8e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/shortcut/src/main/java/com/dede/android_eggs/views/main/util/EasterEggShortcutsHelp.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ object EasterEggShortcutsHelp {
8787
val clazz = requireNotNull(egg.actionClass) {
8888
"EasterEgg unsupported shortcut, provide class == null!"
8989
}
90-
val label = context.getString(egg.nicknameRes)
90+
val label = context.getString(egg.nameRes)
9191

9292
val icon = if (isPinShortcut && Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
9393
val bitmap = AlterableAdaptiveIconDrawable(context, egg.iconRes)

feature/cat-editor/src/main/java/com/dede/android_eggs/cat_editor/CatEditorScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ private fun BottomOptionsBar(
427427
private fun MoreOptionsPopup(
428428
modifier: Modifier = Modifier,
429429
visible: Boolean,
430-
content: @Composable() (RowScope.() -> Unit)
430+
content: @Composable RowScope.() -> Unit
431431
) {
432432
AnimatedVisibility(
433433
visible = visible,

0 commit comments

Comments
 (0)