only show settings icon in history warning for default state #449
|
@ -80,16 +80,24 @@ W.Overlay {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
Opaque.Icon {
|
Loader {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
backgroundColor: Theme.backgroundMainColor
|
height: overlayRoot.historyState == "DefaultDeleteHistory" ? Theme.uiIconSizeM : 0
|
||||||
iconColor: Theme.chatOverlayWarningTextColor
|
sourceComponent: overlayRoot.historyState == "DefaultDeleteHistory" ? settingsIcon : undefined
|
||||||
source: gcd.assetPath + "core/peer_settings-24px.webp"
|
}
|
||||||
size: Theme.uiIconSizeM
|
|
||||||
sourceWidth: 72
|
Component {
|
||||||
sourceHeight: 72
|
id: settingsIcon
|
||||||
width: Theme.uiIconSizeM
|
Opaque.Icon {
|
||||||
height: Theme.uiIconSizeM
|
backgroundColor: Theme.backgroundMainColor
|
||||||
|
iconColor: Theme.chatOverlayWarningTextColor
|
||||||
|
source: gcd.assetPath + "core/peer_settings-24px.webp"
|
||||||
|
size: Theme.uiIconSizeM
|
||||||
|
sourceWidth: 72
|
||||||
|
sourceHeight: 72
|
||||||
|
width: Theme.uiIconSizeM
|
||||||
|
height: Theme.uiIconSizeM
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Opaque.HLine {}
|
Opaque.HLine {}
|
||||||
|
|
Reference in New Issue