mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-30 06:12:37 +03:00
added with login check
This commit is contained in:
parent
c7be75dbf4
commit
da80110aa2
@ -103,7 +103,7 @@ export default class TagAreaView extends Component {
|
||||
handleOnChange={text => this._handleOnChange(text, i)}
|
||||
handleOnBlur={() => this._handleOnBlur(i)}
|
||||
blurOnSubmit
|
||||
value={chip && chip}
|
||||
value={draftChips.length > 0 ? chip && chip : null}
|
||||
autoCapitalize="none"
|
||||
{...this.props}
|
||||
/>
|
||||
|
@ -77,6 +77,6 @@ export default createSwitchNavigator({
|
||||
stackNavigatior,
|
||||
[ROUTES.SCREENS.LOGIN]: { screen: RootComponent()(Login) },
|
||||
[ROUTES.SCREENS.PINCODE]: { screen: RootComponent()(PinCode) },
|
||||
[ROUTES.SCREENS.SPLASH]: { screen: Editor },
|
||||
[ROUTES.SCREENS.SPLASH]: { screen: Splash },
|
||||
[ROUTES.SCREENS.STEEM_CONNECT]: { screen: RootComponent()(SteemConnect) },
|
||||
});
|
||||
|
@ -100,8 +100,7 @@ export const updateUserData = userData => new Promise((resolve, reject) => {
|
||||
export const setDraftPost = (fields, username) => new Promise((resolve, reject) => {
|
||||
try {
|
||||
const draft = realm.objects(DRAFT_SCHEMA).filtered('username = $0', username);
|
||||
console.log(fields);
|
||||
console.log("ustebak");
|
||||
|
||||
realm.write(() => {
|
||||
if (Array.from(draft).length > 0) {
|
||||
draft[0].title = fields.title;
|
||||
|
Loading…
Reference in New Issue
Block a user