summaryrefslogtreecommitdiffhomepage
path: root/app/components/PlatformWindow.android.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-06-01 16:13:10 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-06-05 12:11:55 +0200
commitca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087 (patch)
treeb1f7754eb50896ab3681e35fa4e08be642b940c9 /app/components/PlatformWindow.android.js
parent5852c980980de53e00d76a0bdb4b41bf5c0f5b39 (diff)
downloadmullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.tar.xz
mullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.zip
Add formatted source code
Diffstat (limited to 'app/components/PlatformWindow.android.js')
-rw-r--r--app/components/PlatformWindow.android.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/components/PlatformWindow.android.js b/app/components/PlatformWindow.android.js
index b2a13e86c9..9d15466f56 100644
--- a/app/components/PlatformWindow.android.js
+++ b/app/components/PlatformWindow.android.js
@@ -4,14 +4,10 @@ import { KeyboardAvoidingView } from 'react-native';
export default class PlatformWindow extends React.Component {
props: {
- children: Array<React.Node> | React.Node
+ children: Array<React.Node> | React.Node,
};
render() {
- return (
- <KeyboardAvoidingView behavior={'position'}>
- { this.props.children }
- </KeyboardAvoidingView>
- );
+ return <KeyboardAvoidingView behavior={'position'}>{this.props.children}</KeyboardAvoidingView>;
}
-} \ No newline at end of file
+}