After Width: | Height: | Size: 966 B |
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 638 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 797 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 484 B |
After Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 981 B After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 982 B |
After Width: | Height: | Size: 631 B |
After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 498 B |
After Width: | Height: | Size: 914 B |
After Width: | Height: | Size: 995 B |
After Width: | Height: | Size: 928 B |
After Width: | Height: | Size: 595 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 774 B |
After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 143 B |
After Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 599 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 775 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 998 B |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 226 B |
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 307 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 949 B |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 484 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 376 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 443 B |
After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 2.7 KiB |
|
@ -16,22 +16,14 @@ export const LOGIN = createRequestTypes('LOGIN', [
|
||||||
'SUBMIT',
|
'SUBMIT',
|
||||||
'REGISTER_SUBMIT',
|
'REGISTER_SUBMIT',
|
||||||
'REGISTER_REQUEST',
|
'REGISTER_REQUEST',
|
||||||
'REGISTER_SUCCESS',
|
|
||||||
'REGISTER_INCOMPLETE',
|
|
||||||
'SET_USERNAME_SUBMIT',
|
'SET_USERNAME_SUBMIT',
|
||||||
'SET_USERNAME_REQUEST',
|
'SET_USERNAME_REQUEST',
|
||||||
'SET_USERNAME_SUCCESS',
|
'SET_USERNAME_SUCCESS',
|
||||||
'OPEN',
|
|
||||||
'CLOSE',
|
|
||||||
'SET_SERVICES',
|
'SET_SERVICES',
|
||||||
'REMOVE_SERVICES',
|
|
||||||
'SET_PREFERENCE',
|
'SET_PREFERENCE',
|
||||||
'SET_SORT_PREFERENCE'
|
'SET_SORT_PREFERENCE'
|
||||||
]);
|
]);
|
||||||
export const FORGOT_PASSWORD = createRequestTypes('FORGOT_PASSWORD', [
|
export const FORGOT_PASSWORD = createRequestTypes('FORGOT_PASSWORD');
|
||||||
...defaultTypes,
|
|
||||||
'INIT'
|
|
||||||
]);
|
|
||||||
export const USER = createRequestTypes('USER', ['SET']);
|
export const USER = createRequestTypes('USER', ['SET']);
|
||||||
export const ROOMS = createRequestTypes('ROOMS', [
|
export const ROOMS = createRequestTypes('ROOMS', [
|
||||||
...defaultTypes,
|
...defaultTypes,
|
||||||
|
|
|
@ -19,23 +19,13 @@ export function registerSubmit(credentials) {
|
||||||
credentials
|
credentials
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function registerRequest(credentials) {
|
export function registerRequest(credentials) {
|
||||||
return {
|
return {
|
||||||
type: types.LOGIN.REGISTER_REQUEST,
|
type: types.LOGIN.REGISTER_REQUEST,
|
||||||
credentials
|
credentials
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export function registerSuccess(credentials) {
|
|
||||||
return {
|
|
||||||
type: types.LOGIN.REGISTER_SUCCESS,
|
|
||||||
credentials
|
|
||||||
};
|
|
||||||
}
|
|
||||||
export function registerIncomplete() {
|
|
||||||
return {
|
|
||||||
type: types.LOGIN.REGISTER_INCOMPLETE
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function setUsernameSubmit(credentials) {
|
export function setUsernameSubmit(credentials) {
|
||||||
return {
|
return {
|
||||||
|
@ -127,18 +117,6 @@ export function setUser(action) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function open() {
|
|
||||||
return {
|
|
||||||
type: types.LOGIN.OPEN
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function close() {
|
|
||||||
return {
|
|
||||||
type: types.LOGIN.CLOSE
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function setLoginServices(data) {
|
export function setLoginServices(data) {
|
||||||
return {
|
return {
|
||||||
type: types.LOGIN.SET_SERVICES,
|
type: types.LOGIN.SET_SERVICES,
|
||||||
|
@ -146,12 +124,6 @@ export function setLoginServices(data) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function removeLoginServices() {
|
|
||||||
return {
|
|
||||||
type: types.LOGIN.REMOVE_SERVICES
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function setPreference(preference) {
|
export function setPreference(preference) {
|
||||||
return {
|
return {
|
||||||
type: types.LOGIN.SET_PREFERENCE,
|
type: types.LOGIN.SET_PREFERENCE,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
export const COLOR_DANGER = '#f5455c';
|
export const COLOR_DANGER = '#f5455c';
|
||||||
export const COLOR_BUTTON_PRIMARY = '#2D6AEA';
|
export const COLOR_BUTTON_PRIMARY = '#1d74f5';
|
||||||
export const COLOR_TEXT = '#292E35';
|
export const COLOR_TEXT = '#292E35';
|
||||||
export const COLOR_SEPARATOR = '#CBCED1';
|
export const COLOR_SEPARATOR = '#CBCED1';
|
||||||
export const STATUS_COLORS = {
|
export const STATUS_COLORS = {
|
||||||
|
|
|
@ -0,0 +1,60 @@
|
||||||
|
import { Platform } from 'react-native';
|
||||||
|
|
||||||
|
export const DARK_HEADER = {
|
||||||
|
statusBar: {
|
||||||
|
backgroundColor: '#2F343D',
|
||||||
|
style: 'light'
|
||||||
|
},
|
||||||
|
topBar: {
|
||||||
|
backButton: {
|
||||||
|
color: '#fff'
|
||||||
|
},
|
||||||
|
background: {
|
||||||
|
color: '#2F343D'
|
||||||
|
},
|
||||||
|
title: {
|
||||||
|
color: '#FFF'
|
||||||
|
},
|
||||||
|
leftButtonStyle: {
|
||||||
|
color: '#FFF'
|
||||||
|
},
|
||||||
|
rightButtonStyle: {
|
||||||
|
color: '#FFF'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export const LIGHT_HEADER = {
|
||||||
|
statusBar: {
|
||||||
|
backgroundColor: '#FFF',
|
||||||
|
style: 'dark'
|
||||||
|
},
|
||||||
|
topBar: {
|
||||||
|
backButton: {
|
||||||
|
color: '#1d74f5'
|
||||||
|
},
|
||||||
|
background: {
|
||||||
|
color: undefined
|
||||||
|
},
|
||||||
|
title: {
|
||||||
|
color: '#0C0D0F'
|
||||||
|
},
|
||||||
|
leftButtonStyle: {
|
||||||
|
color: '#1d74f5'
|
||||||
|
},
|
||||||
|
rightButtonStyle: {
|
||||||
|
color: '#1d74f5'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export const DEFAULT_HEADER = {
|
||||||
|
...Platform.select({
|
||||||
|
ios: {
|
||||||
|
...LIGHT_HEADER
|
||||||
|
},
|
||||||
|
android: {
|
||||||
|
...DARK_HEADER
|
||||||
|
}
|
||||||
|
})
|
||||||
|
};
|
|
@ -8,33 +8,9 @@ export default {
|
||||||
Accounts_NamePlaceholder: {
|
Accounts_NamePlaceholder: {
|
||||||
type: 'valueAsString'
|
type: 'valueAsString'
|
||||||
},
|
},
|
||||||
Accounts_OAuth_Facebook: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_OAuth_Github: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_OAuth_Gitlab: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_OAuth_Google: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_OAuth_Linkedin: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_OAuth_Meteor: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_OAuth_Twitter: {
|
|
||||||
type: 'valueAsBoolean'
|
|
||||||
},
|
|
||||||
Accounts_PasswordPlaceholder: {
|
Accounts_PasswordPlaceholder: {
|
||||||
type: 'valueAsString'
|
type: 'valueAsString'
|
||||||
},
|
},
|
||||||
Accounts_RepeatPasswordPlaceholder: {
|
|
||||||
type: 'valueAsString'
|
|
||||||
},
|
|
||||||
CROWD_Enable: {
|
CROWD_Enable: {
|
||||||
type: 'valueAsBoolean'
|
type: 'valueAsBoolean'
|
||||||
},
|
},
|
||||||
|
@ -84,4 +60,4 @@ export default {
|
||||||
type: 'valueAsBoolean'
|
type: 'valueAsBoolean'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
export const settingsUpdatedAt = new Date('2018-09-10');
|
export const settingsUpdatedAt = new Date('2018-11-14');
|
||||||
|
|