mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:49:03 +08:00
Move properties into account details itself
There isn't really a point to setting them from when the object is created... CURA-7418
This commit is contained in:
parent
ed53557044
commit
1f402569ad
@ -9,9 +9,10 @@ import Cura 1.1 as Cura
|
||||
|
||||
Column
|
||||
{
|
||||
property var profile: null
|
||||
property var loggedIn: false
|
||||
property var profileImage: ""
|
||||
property var profile: Cura.API.account.userProfile
|
||||
property bool loggedIn: Cura.API.account.isLoggedIn
|
||||
property var profileImage: Cura.API.account.profileImageUrl
|
||||
|
||||
|
||||
padding: UM.Theme.getSize("wide_margin").height
|
||||
spacing: UM.Theme.getSize("wide_margin").height
|
||||
|
@ -133,12 +133,7 @@ Item
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
|
||||
contentItem: AccountDetails
|
||||
{
|
||||
id: panel
|
||||
profile: Cura.API.account.userProfile
|
||||
loggedIn: Cura.API.account.isLoggedIn
|
||||
profileImage: Cura.API.account.profileImageUrl
|
||||
}
|
||||
{}
|
||||
|
||||
background: UM.PointingRectangle
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user