summaryrefslogtreecommitdiff
path: root/app/qml/pages
diff options
context:
space:
mode:
authorPhilipp Andreas <github@smurfy.de>2014-07-23 22:12:07 +0200
committerPhilipp Andreas <github@smurfy.de>2014-07-23 22:12:07 +0200
commit5f3e8fd022e29d3014b4e0888f310a5ac512b467 (patch)
tree1afbdb4898711d8a010196cb12431c3d747625bf /app/qml/pages
parent33d912d5ea022352c8614c386d5ae3c25e4e5aa6 (diff)
Added Twitter support and prepared facebook support
Diffstat (limited to 'app/qml/pages')
-rw-r--r--app/qml/pages/ManagerPage.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/qml/pages/ManagerPage.qml b/app/qml/pages/ManagerPage.qml
index 04035da..ecb7610 100644
--- a/app/qml/pages/ManagerPage.qml
+++ b/app/qml/pages/ManagerPage.qml
@@ -45,6 +45,8 @@ Page {
property bool notificationsMissedCall: true
property bool notificationsEmails: false
property bool notificationsMitakuuluu: true
+ property bool notificationsTwitter: true
+ property bool notificationsFacebook: true
property bool notificationsOther: true
property bool notificationsAll: false
}
@@ -192,6 +194,25 @@ Page {
}
TextSwitch {
+ text: qsTr("Twitter")
+ checked: settings.notificationsTwitter
+ automaticCheck: false
+ onClicked: {
+ settings.notificationsTwitter = !settings.notificationsTwitter;
+ }
+ }
+
+ TextSwitch {
+ visible: false //not yet supported
+ text: qsTr("Facebook")
+ checked: settings.notificationsFacebook
+ automaticCheck: false
+ onClicked: {
+ settings.notificationsFacebook = !settings.notificationsFacebook;
+ }
+ }
+
+ TextSwitch {
text: qsTr("Other phone notification")
checked: settings.notificationsOther
automaticCheck: false