toggle to show notif icon on lockscreen
This commit is contained in:
@@ -242,6 +242,7 @@ Singleton {
|
|||||||
recolorLogo: lock.recolorLogo,
|
recolorLogo: lock.recolorLogo,
|
||||||
enableFprint: lock.enableFprint,
|
enableFprint: lock.enableFprint,
|
||||||
showNotifContent: lock.showNotifContent,
|
showNotifContent: lock.showNotifContent,
|
||||||
|
showNotifIcon: lock.showNotifIcon,
|
||||||
maxFprintTries: lock.maxFprintTries,
|
maxFprintTries: lock.maxFprintTries,
|
||||||
blurAmount: lock.blurAmount,
|
blurAmount: lock.blurAmount,
|
||||||
sizes: {
|
sizes: {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ JsonObject {
|
|||||||
property int maxFprintTries: 3
|
property int maxFprintTries: 3
|
||||||
property bool recolorLogo: false
|
property bool recolorLogo: false
|
||||||
property bool showNotifContent: false
|
property bool showNotifContent: false
|
||||||
|
property bool showNotifIcon: false
|
||||||
property Sizes sizes: Sizes {
|
property Sizes sizes: Sizes {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ CustomRect {
|
|||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
height: Config.notifs.sizes.image
|
height: Config.notifs.sizes.image
|
||||||
source: Qt.resolvedUrl(root.image)
|
source: Qt.resolvedUrl(root.image)
|
||||||
|
visible: Config.lock.showNotifIcon
|
||||||
width: Config.notifs.sizes.image
|
width: Config.notifs.sizes.image
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,15 @@ SettingsPage {
|
|||||||
Separator {
|
Separator {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SettingSwitch {
|
||||||
|
name: "Show notification icon"
|
||||||
|
object: Config.lock
|
||||||
|
setting: "showNotifIcon"
|
||||||
|
}
|
||||||
|
|
||||||
|
Separator {
|
||||||
|
}
|
||||||
|
|
||||||
SettingSpinBox {
|
SettingSpinBox {
|
||||||
min: 0
|
min: 0
|
||||||
name: "Blur amount"
|
name: "Blur amount"
|
||||||
|
|||||||
@@ -311,6 +311,13 @@ export const settingsIndex = [
|
|||||||
section: "Lockscreen",
|
section: "Lockscreen",
|
||||||
keywords: ["notification", "hide", "privacy"],
|
keywords: ["notification", "hide", "privacy"],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Show notification icon",
|
||||||
|
category: "lockscreen",
|
||||||
|
categoryName: "Lockscreen",
|
||||||
|
section: "Lockscreen",
|
||||||
|
keywords: ["notification", "hide", "icon"],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Blur amount",
|
name: "Blur amount",
|
||||||
category: "lockscreen",
|
category: "lockscreen",
|
||||||
|
|||||||
Reference in New Issue
Block a user