mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: ignore soft input changes if EditorActivity is being destroyed (#1761)
This commit is contained in:
@@ -563,8 +563,10 @@ abstract class BaseEditorActivity : IDEActivity(), TabLayout.OnTabSelectedListen
|
||||
}
|
||||
|
||||
private fun onSoftInputChanged() {
|
||||
invalidateOptionsMenu()
|
||||
binding.bottomSheet.onSoftInputChanged()
|
||||
if (!isDestroying) {
|
||||
invalidateOptionsMenu()
|
||||
binding.bottomSheet.onSoftInputChanged()
|
||||
}
|
||||
}
|
||||
|
||||
private fun showNeedHelpDialog() {
|
||||
|
||||
Reference in New Issue
Block a user