Merge lp:~tiagosh/dialer-app/hide-accounts-switcher into lp:dialer-app

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Bill Filler
Approved revision: 185
Merged at revision: 185
Proposed branch: lp:~tiagosh/dialer-app/hide-accounts-switcher
Merge into: lp:dialer-app
Diff against target: 32 lines (+8/-6)
1 file modified
src/qml/DialerPage/DialerPage.qml (+8/-6)
To merge this branch: bzr merge lp:~tiagosh/dialer-app/hide-accounts-switcher
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Ubuntu Phablet Team Pending
Review via email: mp+227337@code.launchpad.net

Commit message

Hide account switcher when there is only one account.

Description of the change

Hide account switcher when there is only one account.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/qml/DialerPage/DialerPage.qml'
--- src/qml/DialerPage/DialerPage.qml 2014-07-17 21:18:05 +0000
+++ src/qml/DialerPage/DialerPage.qml 2014-07-18 14:17:11 +0000
@@ -29,6 +29,7 @@
29 property string voicemailNumber: callManager.voicemailNumber29 property string voicemailNumber: callManager.voicemailNumber
30 property alias dialNumber: keypadEntry.value30 property alias dialNumber: keypadEntry.value
31 property alias input: keypadEntry.input31 property alias input: keypadEntry.input
32 property bool multipleAccounts: telepathyHelper.accountIds.length > 1
32 objectName: "dialerPage"33 objectName: "dialerPage"
3334
34 tools: ToolbarItems {35 tools: ToolbarItems {
@@ -133,13 +134,14 @@
133 // TODO replace by the sdk sections component when it's released134 // TODO replace by the sdk sections component when it's released
134 Rectangle {135 Rectangle {
135 id: accountList136 id: accountList
137 anchors {
138 left: parent.left
139 right: parent.right
140 top: parent.top
141 }
142 clip: !multipleAccounts
143 height: multipleAccounts ? childrenRect.height : 0
136 z: 1144 z: 1
137 anchors {
138 left: parent.left
139 right: parent.right
140 top: parent.top
141 }
142 height: telepathyHelper.accountIds.length > 1 ? childrenRect.height : 0
143 color: "white"145 color: "white"
144 Row {146 Row {
145 anchors {147 anchors {

Subscribers

People subscribed via source and target branches