Improve surface detection and position of item

This commit is contained in:
John Lyon-Smith
2018-04-14 04:53:37 -07:00
parent 43d86d9f61
commit 9acc48f096
5 changed files with 171 additions and 65 deletions

View File

@@ -19,6 +19,7 @@ import KeyboardSpacer from "react-native-keyboard-spacer"
import { versionInfo } from "../version"
import autobind from "autobind-decorator"
import { isIphoneX } from "react-native-iphone-x-helper"
import { defaultUser } from "../development"
export class Login extends React.Component {
static bindings = {
@@ -75,7 +76,7 @@ export class Login extends React.Component {
constructor(props) {
super(props)
this.state = {
binder: new FormBinder({ email: "john@lyon-smith.org" }, Login.bindings),
binder: new FormBinder({ email: defaultUser }, Login.bindings),
messageModal: null,
apiModal: null,
}