Commit f270daee authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Fix small issues reported on Telegram

- screen won't wake up anymore on notification
- landscape mode allowed on attached info pages
- add versions of app and TDLIB on About page
- add more info about Gitlab accounts and contribution
parent bb263f49
......@@ -3,7 +3,7 @@ x-nemo-icon=icon-lock-chat
urgency=1
x-nemo-feedback=telegrame_im,telegrame_im_exists
#https://git.merproject.org/mer-core/lipstick/blob/master/doc/src/notifications.dox#L34
x-nemo-priority=110
x-nemo-priority=99
x-nemo-display-on=true
#x-nemo-feedback=telegrame_im_fg
......
......@@ -29,13 +29,22 @@ Page {
anchors.horizontalCenter: parent.horizontalCenter;
}
LabelFixed {
text: "Telegra'me";
text: "Telegra'me v0.10.19";
wrapMode: Text.WrapAtWordBoundaryOrAnywhere;
font.family: Theme.fontFamilyHeading;
font.pixelSize: Theme.fontSizeExtraLarge;
horizontalAlignment: Text.AlignHCenter;
ExtraAnchors.horizontalFill: parent;
}
LabelFixed {
text: "using TDLIB v1.4";
opacity: 0.65;
wrapMode: Text.WrapAtWordBoundaryOrAnywhere;
font.family: Theme.fontFamilyHeading;
font.pixelSize: Theme.fontSizeLarge;
horizontalAlignment: Text.AlignHCenter;
ExtraAnchors.horizontalFill: parent;
}
LabelFixed {
text: qsTr ("An unofficial client for Telegram messaging, using TDLIB API. It aims to provide all the main features of the official apps on other platforms, while integrating nicely into Sailfish UI that we all love.");
color: Theme.rgba (Theme.primaryColor, 0.65);
......@@ -81,7 +90,7 @@ Page {
ExtraAnchors.horizontalFill: parent;
}
LabelFixed {
text: qsTr ("The app is open-source and the code is hosted on my Gitlab instance (no account required to get sources) :");
text: qsTr ("The app is open-source and the code is hosted on my Gitlab instance :");
wrapMode: Text.WrapAtWordBoundaryOrAnywhere;
horizontalAlignment: Text.AlignHCenter;
font.family: Theme.fontFamilyHeading;
......@@ -106,19 +115,13 @@ Page {
}
}
}
Rectangle {
color: Theme.secondaryColor;
implicitHeight: 1;
ExtraAnchors.horizontalFill: parent;
}
LabelFixed {
text: qsTr ("Kudos to BlackSailer for compiling tdlib-json on Sailfish OS !");
color: Theme.rgba (Theme.highlightColor, 0.65);
text: qsTr ("(no account required to get sources, but you can request an account if you want to contribute)");
opacity: 0.65;
wrapMode: Text.WrapAtWordBoundaryOrAnywhere;
horizontalAlignment: Text.AlignHCenter;
font.bold: true;
font.family: Theme.fontFamilyHeading;
font.pixelSize: Theme.fontSizeMedium;
font.pixelSize: Theme.fontSizeSmall;
ExtraAnchors.horizontalFill: parent;
}
Rectangle {
......
......@@ -6,7 +6,7 @@ import "../components";
Page {
id: pageChatInfoBasicGroup;
allowedOrientations: Orientation.Portrait;
allowedOrientations: Orientation.All;
property TD_Chat chatItem : null;
property TD_BasicGroup basicGroupItem : null;
......
......@@ -6,7 +6,7 @@ import "../components";
Page {
id: pageChatInfoPrivate;
allowedOrientations: Orientation.Portrait;
allowedOrientations: Orientation.All;
property TD_Chat chatItem : null;
property TD_User userItem : null;
......
......@@ -6,7 +6,7 @@ import "../components";
Page {
id: pageChatInfoSupergroup;
allowedOrientations: Orientation.Portrait;
allowedOrientations: Orientation.All;
property TD_Chat chatItem : null;
property TD_Supergroup supergroupItem : null;
......
......@@ -6,7 +6,7 @@ import "../components";
Page {
id: pageUserInfo;
allowedOrientations: Orientation.Portrait;
allowedOrientations: Orientation.All;
property TD_User userItem : null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment