mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
signup username limit, json_metadata remove community field
This commit is contained in:
parent
b2191347a7
commit
3fcafea77b
@ -36,7 +36,7 @@ const RegisterScreen = ({ navigation }) => {
|
||||
|
||||
const _handleUsernameChange = ({ value, getAccountsWithUsername }) => {
|
||||
setUsername(value);
|
||||
if (!value || value.length <= 2) {
|
||||
if (!value || value.length <= 2 || value.length >= 16) {
|
||||
setIsUsernameValid(false);
|
||||
return;
|
||||
}
|
||||
|
@ -96,7 +96,6 @@ export const makeJsonMetadataReply = (tags) => ({
|
||||
tags,
|
||||
app: `ecency/${VersionNumber.appVersion}-mobile`,
|
||||
format: 'markdown+html',
|
||||
community: 'hive-125125',
|
||||
});
|
||||
|
||||
export const makeJsonMetadata = (meta, tags) =>
|
||||
@ -104,7 +103,6 @@ export const makeJsonMetadata = (meta, tags) =>
|
||||
tags,
|
||||
app: `ecency/${VersionNumber.appVersion}-mobile`,
|
||||
format: 'markdown+html',
|
||||
community: 'hive-125125',
|
||||
});
|
||||
|
||||
export const makeJsonMetadataForUpdate = (oldJson, meta, tags) => {
|
||||
|
Loading…
Reference in New Issue
Block a user