Skip to content
Snippets Groups Projects
Commit daf153cf authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Shrink layout and add deploy script

parent 85f96ce6
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
docker exec sailsdk mb2 -t SailfishOS-3.0.2.8-armv7hl build
scp RPMS/harbour-matrix-0.1-1.armv7hl.rpm xperia: && ssh xperia devel-su -c pkcon -y install-local harbour-matrix-0.1-1.armv7hl.rpm
......@@ -21,8 +21,6 @@ Page {
id: roomView
anchors.fill: parent
//spacing: Theme.paddingLarge
ScrollDecorator { flickable: roomView }
// PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView
......@@ -88,7 +86,6 @@ Page {
text: model.roomName
color: Theme.primaryColor
font.pixelSize: Theme.fontSizeLarge
font.bold: true
}
Text {
......@@ -100,7 +97,6 @@ Page {
id: lastMessage
text: model.lastMessage
color: unreadNotifications > 0 ? Theme.primaryColor : Theme.secondaryColor
font.bold: unreadNotifications > 0
wrapMode: Text.Wrap
elide: Text.ElideRight
maximumLineCount: 3
......
......@@ -43,6 +43,7 @@ int main(int argc, char *argv[]) {
rooms.addRoom(b);
Room c;
c.tag = "chat";
c.lastMessage = "Nananana";
c.unreadNotifications = 0;
c.name = "RoomC";
rooms.addRoom(c);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment