new version with hashtags

This commit is contained in:
LubuWest 2020-11-25 21:40:17 +01:00
commit 56bdb80ea0
47 changed files with 1424 additions and 825 deletions

View file

@ -55,7 +55,7 @@ Rectangle {
var profileobject={};
var profiletext="";
for (var key in pobject){//print(key+obj[key])
if(pobject[key]!=""&&key!="users"&&key!="profile_id"){
if(pobject[key]!=""&&pobject[key]!=null&&key!="users"&&key!="profile_id"){
var keytext="";
switch(key){
case "profile_name":keytext=qsTr("profile name");break;
@ -178,7 +178,7 @@ Rectangle {
MButton{
id:updatebutton
height: 6*mm
width:8*mm
width: 12*mm
visible: "file://"+profile.friendica_owner.profile_image!= photoImage.source
text:qsTr("Update")
font.pixelSize: 3*mm
@ -245,10 +245,6 @@ Rectangle {
}
}
// Rectangle{
// id: detailsrectangle
ScrollView{
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
id:namelabelflickable
@ -262,15 +258,12 @@ Rectangle {
ListView {
id: profileView
header:textcomponent
// width:parent.width
// height: root.height
// clip: true
spacing: 0
model: profileModel
delegate: profileItem
}
}
// }
Component.onCompleted: {
profile.profiles.sort(function(obj1, obj2) {