-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: iOS 1.9, Android 1.6
-
Component/s: None
-
Tags:
-
Sprint:nxfit 9.2.1, nxfit 9.2.2
-
Story Points:2
Currently, if no thumbnail can be loaded from the server, there is no way to tap and preview the main file, even if it exists.
Possible patch:
diff --git a/src/components/app/DocumentView.js b/src/components/app/DocumentView.js index 9aede81..04b202f 100644 --- a/src/components/app/DocumentView.js +++ b/src/components/app/DocumentView.js @@ -128,11 +128,7 @@ class DocumentView extends Component { this._computeIconComponent() ); - return this.state.errorLoadingThumbnail ? ( - <View> - {image} - </View> - ) : ( + return ( <TouchableOpacity onPress={() => Actions.documentPreview({ document: doc })}> {image} </TouchableOpacity>