|
@@ -434,7 +434,7 @@ public class FileDisplayActivity extends HookActivity
|
|
|
updateActionBarTitleAndHomeButton(file);
|
|
|
} else {
|
|
|
cleanSecondFragment();
|
|
|
- if (file.isDown() && MimeTypeUtil.isVCard(file.getMimetype())){
|
|
|
+ if (file.isDown() && MimeTypeUtil.isVCard(file.getMimetype())) {
|
|
|
startContactListFragment(file);
|
|
|
} else if (file.isDown() && PreviewTextFragment.canBePreviewed(file)) {
|
|
|
startTextPreview(file);
|
|
@@ -603,7 +603,7 @@ public class FileDisplayActivity extends HookActivity
|
|
|
if (PreviewMediaFragment.canBePreviewed(mWaitingToPreview)) {
|
|
|
startMediaPreview(mWaitingToPreview, 0, true);
|
|
|
detailsFragmentChanged = true;
|
|
|
- } else if (MimeTypeUtil.isVCard(mWaitingToPreview.getMimetype())){
|
|
|
+ } else if (MimeTypeUtil.isVCard(mWaitingToPreview.getMimetype())) {
|
|
|
startContactListFragment(mWaitingToPreview);
|
|
|
detailsFragmentChanged = true;
|
|
|
} else if (PreviewTextFragment.canBePreviewed(mWaitingToPreview)) {
|