Skip to content

Commit

Permalink
Adjust screen size back if it was changed during prompt input
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatuska committed Dec 6, 2011
1 parent 05661aa commit bbf28af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/woltage/irssiconnectbot/ConsoleActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ protected PromptHelper getCurrentPromptHelper() {
protected void hideAllPrompts() {
stringPromptGroup.setVisibility(View.GONE);
booleanPromptGroup.setVisibility(View.GONE);
// adjust screen size if it was changed during prompt input
View view = findCurrentView(R.id.console_flip);
if(!(view instanceof TerminalView)) return;
((TerminalView)view).bridge.parentChanged((TerminalView)view);
}

// more like configureLaxMode -- enable network IO on UI thread
Expand Down

0 comments on commit bbf28af

Please sign in to comment.