Upgrade daemon to 0.19.0 #1032

Merged
liamcardenas merged 15 commits from daemon19 into master 2018-03-09 08:53:39 +01:00
6 changed files with 12 additions and 16 deletions
Showing only changes of commit 0c833a727e - Show all commits

View file

@ -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();
@ -61,8 +61,8 @@ class FileList extends React.PureComponent {
} }
return 0; return 0;
}), }),
}; };
} }
getChannelSignature(fileInfo) { getChannelSignature(fileInfo) {
if (fileInfo.value) { if (fileInfo.value) {

View file

@ -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>

View file

@ -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.`
) )
); );
}); });

View file

@ -51,7 +51,7 @@ $md-checkmark-color: #fff;
border: none; border: none;
} }
+ label:after { + label:after {
$md-checkmark-size: $md-checkbox-size - 2*$md-checkbox-padding; $md-checkmark-size: $md-checkbox-size - 2 * $md-checkbox-padding;
transform: rotate(-45deg); transform: rotate(-45deg);

View file

@ -18,7 +18,7 @@ table.table-standard {
vertical-align: bottom; vertical-align: bottom;
font-weight: 500; font-weight: 500;
font-size: 0.9em; font-size: 0.9em;
padding: $spacing-vertical/4+1 8px $spacing-vertical/4-2; padding: $spacing-vertical/4 + 1 8px $spacing-vertical/4-2;
text-align: left; text-align: left;
border-bottom: var(--table-border); border-bottom: var(--table-border);
img { img {

View file

@ -20,14 +20,14 @@
border: var(--tooltip-border); border: var(--tooltip-border);
color: var(--tooltip-color); color: var(--tooltip-color);
background-color: var(--tooltip-bg); background-color: var(--tooltip-bg);
font-size: calc(var(--font-size) * 7/8); font-size: calc(var(--font-size) * 7 / 8);
line-height: var(--font-line-height); line-height: var(--font-line-height);
box-shadow: var(--box-shadow-layer); box-shadow: var(--box-shadow-layer);
} }
.tooltip--header .tooltip__link { .tooltip--header .tooltip__link {
@include text-link(#aaa); @include text-link(#aaa);
font-size: calc(var(--font-size) * 3/4); font-size: calc(var(--font-size) * 3 / 4);
margin-left: var(--button-padding); margin-left: var(--button-padding);
vertical-align: middle; vertical-align: middle;
} }