commit
bbafc24d1d
7 changed files with 71 additions and 70 deletions
|
@ -35,8 +35,8 @@ import "./lib/API.js" as Logic
|
|||
|
||||
ApplicationWindow {
|
||||
id: appWindow
|
||||
cover: Qt.resolvedUrl("cover/CoverPage.qml")
|
||||
allowedOrientations: defaultAllowedOrientations
|
||||
cover: Qt.resolvedUrl("cover/CoverPage.qml")
|
||||
Component.onCompleted: {
|
||||
var obj = {}
|
||||
Logic.mediator.installTo(obj)
|
||||
|
@ -73,6 +73,7 @@ ApplicationWindow {
|
|||
//Logic.conf.notificationLastID = 0;
|
||||
Logic.saveData()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Dbus
|
||||
onViewtoot: {
|
||||
|
|
|
@ -305,7 +305,7 @@ BackgroundItem {
|
|||
|
||||
MenuItem {
|
||||
id: mnuFavourite
|
||||
visible: model.type !== "follow" || model.status_visibility !== "direct"
|
||||
visible: model.type !== "follow"
|
||||
text: typeof model.favourited !== "undefined" && model.favourited ? qsTr("Unfavorite") : qsTr("Favorite")
|
||||
onClicked: {
|
||||
var status = typeof model.favourited !== "undefined" && model.favourited
|
||||
|
|
Loading…
Reference in a new issue