2018-10-16 18:50:58 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
import Sailfish.Silica 1.0
|
|
|
|
|
|
|
|
CoverBackground {
|
2018-10-27 20:19:35 +03:00
|
|
|
|
|
|
|
CoverPlaceholder {
|
|
|
|
icon.source: "../img/nextcloud-logo-transparent.png"
|
|
|
|
text: qsTr("Notes")
|
2018-10-16 18:50:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
CoverActionList {
|
|
|
|
id: coverAction
|
2018-11-15 00:13:47 +03:00
|
|
|
enabled: appSettings.currentAccount >= 0
|
2018-10-16 18:50:58 +03:00
|
|
|
|
|
|
|
CoverAction {
|
2018-10-27 20:19:35 +03:00
|
|
|
iconSource: "image://theme/icon-cover-new"
|
|
|
|
onTriggered: {
|
2018-12-04 13:24:07 +03:00
|
|
|
nextcloudAccounts.itemAt(appSettings.currentAccount).createNote({'content': ""})
|
2018-10-27 20:19:35 +03:00
|
|
|
appWindow.activate()
|
|
|
|
}
|
2018-10-16 18:50:58 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|