manager: Add entry for module ui
This commit is contained in:
@@ -502,6 +502,18 @@ private fun ModuleItem(
|
|||||||
text = stringResource(R.string.uninstall),
|
text = stringResource(R.string.uninstall),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (module.hasWebUi) {
|
||||||
|
TextButton(
|
||||||
|
onClick = { onClick(module) },
|
||||||
|
) {
|
||||||
|
Text(
|
||||||
|
fontFamily = MaterialTheme.typography.labelMedium.fontFamily,
|
||||||
|
fontSize = MaterialTheme.typography.labelMedium.fontSize,
|
||||||
|
text = stringResource(R.string.enter),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,4 +105,5 @@
|
|||||||
<string name="settings_check_update">检查更新</string>
|
<string name="settings_check_update">检查更新</string>
|
||||||
<string name="settings_check_update_summary">在应用启动后自动检查是否有最新版</string>
|
<string name="settings_check_update_summary">在应用启动后自动检查是否有最新版</string>
|
||||||
<string name="grant_root_failed">获取 root 失败!</string>
|
<string name="grant_root_failed">获取 root 失败!</string>
|
||||||
|
<string name="enter">进入</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -107,4 +107,5 @@
|
|||||||
<string name="settings_check_update">Check update</string>
|
<string name="settings_check_update">Check update</string>
|
||||||
<string name="settings_check_update_summary">Automatically check for updates when opening the app</string>
|
<string name="settings_check_update_summary">Automatically check for updates when opening the app</string>
|
||||||
<string name="grant_root_failed">Failed to grant root!</string>
|
<string name="grant_root_failed">Failed to grant root!</string>
|
||||||
|
<string name="enter">Enter</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user