Bugfix: toggle favorite on the first page
This commit is contained in:
parent
b2284de2e1
commit
1035055e29
3 changed files with 7 additions and 8 deletions
|
@ -97,7 +97,7 @@ Dialog {
|
|||
width: parent.width - 2*x
|
||||
wrapMode: Text.Wrap
|
||||
color: Theme.secondaryColor
|
||||
text: qsTr("Please consider creating a dedicated app password! Open your Nextcloud in a browser and go to <i>Settings</i> → <i>Security</i>.")
|
||||
text: qsTr("<strong>CAUTION: Your password will be saved without any encryption on the device!</strong><br>Please consider creating a dedicated app password! Open your Nextcloud in a browser and go to <i>Settings</i> → <i>Security</i>.")
|
||||
}
|
||||
/*TextSwitch {
|
||||
id: unsecureConnectionTextSwitch
|
||||
|
|
|
@ -84,8 +84,7 @@ Page {
|
|||
(note.highlighted ? Theme.secondaryHighlightColor : Theme.secondaryColor)
|
||||
onClicked: {
|
||||
console.log("Toggle favorite")
|
||||
favorite = !favorite
|
||||
nextcloudAccounts.itemAt(appSettings.currentAccount).updateNote(id, {'favorite': favorite} )
|
||||
nextcloudAccounts.itemAt(appSettings.currentAccount).updateNote(id, {'favorite': !favorite} )
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@
|
|||
<context>
|
||||
<name>EditPage</name>
|
||||
<message>
|
||||
<source>Markdown Cheatsheet</source>
|
||||
<source>Category</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Category</source>
|
||||
<source>Reset</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -65,11 +65,11 @@
|
|||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please consider creating a dedicated app password! Open your Nextcloud in a browser and go to <i>Settings</i> → <i>Security</i>.</source>
|
||||
<source>Unnamed account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unnamed account</source>
|
||||
<source><strong>CAUTION: Your password will be saved without any encryption on the device!</strong><br>Please consider creating a dedicated app password! Open your Nextcloud in a browser and go to <i>Settings</i> → <i>Security</i>.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -146,7 +146,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Nextclound Notes</source>
|
||||
<source>Deleting note</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
Loading…
Reference in a new issue