mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-26 02:35:16 +02:00
Remove "Upload" button and associated items
This commit is contained in:
parent
cd6669ec8b
commit
30c63fc305
1 changed files with 21 additions and 1 deletions
|
@ -44,7 +44,11 @@ Item {
|
||||||
HifiControls.Button {
|
HifiControls.Button {
|
||||||
id: uploadButton
|
id: uploadButton
|
||||||
|
|
||||||
|
// FIXME: Re-enable if ability to upload to hosted location is added.
|
||||||
|
/*
|
||||||
visible: AvatarPackagerCore.currentAvatarProject && !AvatarPackagerCore.currentAvatarProject.fst.hasMarketplaceID && !root.hasSuccessfullyUploaded
|
visible: AvatarPackagerCore.currentAvatarProject && !AvatarPackagerCore.currentAvatarProject.fst.hasMarketplaceID && !root.hasSuccessfullyUploaded
|
||||||
|
*/
|
||||||
|
visible: false
|
||||||
enabled: Account.loggedIn
|
enabled: Account.loggedIn
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
@ -62,7 +66,11 @@ Item {
|
||||||
HifiControls.Button {
|
HifiControls.Button {
|
||||||
id: updateButton
|
id: updateButton
|
||||||
|
|
||||||
|
// FIXME: Re-enable if ability to upload to hosted location is added.
|
||||||
|
/*
|
||||||
visible: AvatarPackagerCore.currentAvatarProject && AvatarPackagerCore.currentAvatarProject.fst.hasMarketplaceID && !root.hasSuccessfullyUploaded
|
visible: AvatarPackagerCore.currentAvatarProject && AvatarPackagerCore.currentAvatarProject.fst.hasMarketplaceID && !root.hasSuccessfullyUploaded
|
||||||
|
*/
|
||||||
|
visible: false
|
||||||
enabled: Account.loggedIn
|
enabled: Account.loggedIn
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
@ -79,7 +87,12 @@ Item {
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
// FIXME: Re-enable if ability to upload to hosted location is added.
|
||||||
|
/*
|
||||||
visible: root.hasSuccessfullyUploaded
|
visible: root.hasSuccessfullyUploaded
|
||||||
|
*/
|
||||||
|
visible: false;
|
||||||
|
|
||||||
HifiControls.Button {
|
HifiControls.Button {
|
||||||
enabled: Account.loggedIn
|
enabled: Account.loggedIn
|
||||||
|
@ -303,7 +316,9 @@ Item {
|
||||||
|
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
||||||
text: "You can upload your files to our servers to always access them, and to make your avatar visible to other users."
|
// FIXME: Restore original text if ability to upload to hosted location is added.
|
||||||
|
//text: "You can upload your files to our servers to always access them, and to make your avatar visible to other users."
|
||||||
|
text: "Your files are ready to be uploaded to a server to make your avatar visible to other users."
|
||||||
}
|
}
|
||||||
|
|
||||||
RalewayRegular {
|
RalewayRegular {
|
||||||
|
@ -389,8 +404,13 @@ Item {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: loginRequiredMessage
|
id: loginRequiredMessage
|
||||||
|
|
||||||
|
// FIXME: Re-enable if ability to upload to hosted location is added.
|
||||||
|
/*
|
||||||
visible: !Account.loggedIn
|
visible: !Account.loggedIn
|
||||||
height: !Account.loggedIn ? loginRequiredTextRow.height + 20 : 0
|
height: !Account.loggedIn ? loginRequiredTextRow.height + 20 : 0
|
||||||
|
*/
|
||||||
|
visible: false
|
||||||
|
height: 0
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
|
|
Loading…
Reference in a new issue