Skip to content

Commit

Permalink
Bump to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
roundedrectangle committed Sep 10, 2024
1 parent 81decf1 commit 9a252cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion SailDiscord/qml/pages/AboutPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ AboutPageBase {

appName: qsTr("SailDiscord")
appIcon: Qt.resolvedUrl("../../images/%1.png".arg(Qt.application.name))
appVersion: "0.2.1"
appVersion: "0.2.2"
appRelease: "1"
sourcesUrl: "https://github.com/roundedrectangle/SailDiscord"
licenses: License { spdxId: "GPL-3.0-or-later" }
Expand Down
9 changes: 3 additions & 6 deletions SailDiscord/qml/pages/MessagesPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,15 @@ Page {
sent: _sent
date: _date
sameAuthorAsBefore: index == 0 ? false :
(msgModel.get(index-1)._author == _author ||
false)//((date - msgModel.get(index-1)._date) > 300000))
(msgModel.get(index-1)._author == _author)
//||((date - msgModel.get(index-1)._date) > 300000))
masterWidth: sameAuthorAsBefore ? msgModel.get(index-1)._masterWidth : -1

function updateMasterWidth() {
msgModel.setProperty(index, "_masterWidth", masterWidth == -1 ? innerWidth : masterWidth)
}

Component.onCompleted: {
updateMasterWidth()
//if (!firstMessage && !_from_history) console.log((date - msgModel.get(index-1)._date) > 300000)
}
Component.onCompleted: updateMasterWidth()
onMasterWidthChanged: updateMasterWidth()
onInnerWidthChanged: updateMasterWidth()
}
Expand Down
4 changes: 2 additions & 2 deletions SailDiscord/rpm/SailDiscord.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
%define package_library "no"
%define package_library "yes"
# See README

Name: harbour-saildiscord

Summary: An unofficial Discord client for SailfishOS
Version: 0.2.1
Version: 0.2.2
Release: 1
License: LICENSE
URL: http://example.org/
Expand Down

0 comments on commit 9a252cf

Please sign in to comment.