修复:添加发送通道按钮丢失

This commit is contained in:
pppscn 2022-09-22 00:07:44 +08:00
parent cabad8b14e
commit 73ce800e09

View File

@ -204,10 +204,10 @@ class MainActivity : BaseActivity<ActivityMainBinding?>(),
getString(R.string.menu_rules) == item.title -> binding!!.includeMain.toolbar.inflateMenu(
R.menu.menu_rules
)
getString(R.string.menu_rules) == item.title -> binding!!.includeMain.toolbar.inflateMenu(
getString(R.string.menu_senders) == item.title -> binding!!.includeMain.toolbar.inflateMenu(
R.menu.menu_senders
)
getString(R.string.menu_rules) == item.title -> binding!!.includeMain.toolbar.inflateMenu(
getString(R.string.menu_settings) == item.title -> binding!!.includeMain.toolbar.inflateMenu(
R.menu.menu_settings
)
else -> binding!!.includeMain.toolbar.inflateMenu(R.menu.menu_logs)