Merge pull request #1703 from k9mail/compose-fix-indeterminate

compose: hide indeterminate progress bar after onCreate (fix for api level 15)
This commit is contained in:
cketti 2016-10-12 15:51:16 +02:00 committed by GitHub
commit 4eb7c41f61

View file

@ -326,6 +326,9 @@ public class MessageCompose extends K9Activity implements OnClickListener,
setContentView(R.layout.message_compose);
}
// on api level 15, setContentView() shows the progress bar for some reason...
setProgressBarIndeterminateVisibility(false);
final Intent intent = getIntent();
mMessageReference = intent.getParcelableExtra(EXTRA_MESSAGE_REFERENCE);