Upgrade daemon to 0.19.0 #1032
6 changed files with 12 additions and 16 deletions
|
@ -13,7 +13,7 @@ class FileList extends React.PureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
this._sortFunctions = {
|
this._sortFunctions = {
|
||||||
dateNew: (fileInfos) =>
|
dateNew: fileInfos =>
|
||||||
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
|
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
|
||||||
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
|
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
|
||||||
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
|
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
|
||||||
|
@ -24,7 +24,7 @@ class FileList extends React.PureComponent {
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}),
|
}),
|
||||||
dateOld: (fileInfos) =>
|
dateOld: fileInfos =>
|
||||||
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
|
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
|
||||||
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
|
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
|
||||||
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
|
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
|
||||||
|
@ -35,7 +35,7 @@ class FileList extends React.PureComponent {
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}),
|
}),
|
||||||
title: (fileInfos) =>
|
title: fileInfos =>
|
||||||
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
|
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
|
||||||
const title1 = fileInfo1.value
|
const title1 = fileInfo1.value
|
||||||
? fileInfo1.value.stream.metadata.title.toLowerCase()
|
? fileInfo1.value.stream.metadata.title.toLowerCase()
|
||||||
|
@ -50,7 +50,7 @@ class FileList extends React.PureComponent {
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}),
|
}),
|
||||||
filename: (fileInfos) =>
|
filename: fileInfos =>
|
||||||
fileInfos.slice().sort(({ file_name: fileName1 }, { file_name: fileName2 }) => {
|
fileInfos.slice().sort(({ file_name: fileName1 }, { file_name: fileName2 }) => {
|
||||||
const fileName1Lower = fileName1.toLowerCase();
|
const fileName1Lower = fileName1.toLowerCase();
|
||||||
const fileName2Lower = fileName2.toLowerCase();
|
const fileName2Lower = fileName2.toLowerCase();
|
||||||
|
|
|
@ -33,9 +33,7 @@ class UserPhoneVerify extends React.PureComponent {
|
||||||
<Form onSubmit={this.handleSubmit.bind(this)}>
|
<Form onSubmit={this.handleSubmit.bind(this)}>
|
||||||
<p>
|
<p>
|
||||||
{__(
|
{__(
|
||||||
`Please enter the verification code sent to +${countryCode}${
|
`Please enter the verification code sent to +${countryCode}${phone}. Didn't receive it? `
|
||||||
phone
|
|
||||||
}. Didn't receive it? `
|
|
||||||
)}
|
)}
|
||||||
<Link onClick={this.reset.bind(this)} label="Go back." />
|
<Link onClick={this.reset.bind(this)} label="Go back." />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -277,9 +277,7 @@ export function doLoadVideo(uri) {
|
||||||
});
|
});
|
||||||
dispatch(
|
dispatch(
|
||||||
doAlertError(
|
doAlertError(
|
||||||
`Failed to download ${
|
`Failed to download ${uri}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
|
||||||
uri
|
|
||||||
}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue