~libqtelegram-team/telegram-app/app-dev-remove-only-some-members

« back to all changes in this revision

Viewing changes to components/TelegramPage.qml

  • Committer: Michał Karnicki
  • Date: 2014-09-24 15:25:37 UTC
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: michal.karnicki@canonical.com-20140924152537-1d7w5kzy1382k2eu
For now, don't check online state. Just disable checking of it on sign in pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    id: root
7
7
 
8
8
    property bool isSearching: false
9
 
    property bool isConnected: telegramClient.connected
 
9
    property bool isOnline: true
 
10
    // bug lp:1358733, return this:
 
11
    //networkingStatus.status === NetworkingStatus.Online
 
12
    property bool isConnected: onlineIndicationOnly
 
13
                               ? isOnline
 
14
                               : isOnline && telegramClient.connected
 
15
    property bool onlineIndicationOnly: false
10
16
 
11
17
    property alias title: header.title
12
18
    property alias subtitle: header.subtitle