diff --git a/src/qml/Base/HTabbedBoxes.qml b/src/qml/Base/HTabContainer.qml similarity index 93% rename from src/qml/Base/HTabbedBoxes.qml rename to src/qml/Base/HTabContainer.qml index 1aef2722..30274d2c 100644 --- a/src/qml/Base/HTabbedBoxes.qml +++ b/src/qml/Base/HTabContainer.qml @@ -10,7 +10,7 @@ HColumnLayout { property alias tabIndex: tabBar.currentIndex property alias tabModel: tabRepeater.model - default property alias boxes: swipeView.contentData + default property alias data: swipeView.contentData HTabBar { id: tabBar diff --git a/src/qml/Pages/AddAccount/AddAccount.qml b/src/qml/Pages/AddAccount/AddAccount.qml index b9dc3590..0cdd1fd7 100644 --- a/src/qml/Pages/AddAccount/AddAccount.qml +++ b/src/qml/Pages/AddAccount/AddAccount.qml @@ -3,7 +3,7 @@ import QtQuick.Layouts 1.12 import "../../Base" HPage { - HTabbedBoxes { + HTabContainer { tabModel: [ qsTr("Sign in"), qsTr("Register"), qsTr("Reset"), ] diff --git a/src/qml/Pages/AddChat/AddChat.qml b/src/qml/Pages/AddChat/AddChat.qml index d932aa7f..13860a30 100644 --- a/src/qml/Pages/AddChat/AddChat.qml +++ b/src/qml/Pages/AddChat/AddChat.qml @@ -13,7 +13,7 @@ HPage { Utils.getItem(modelSources["Account"] || [], "user_id", userId) - HTabbedBoxes { + HTabContainer { tabModel: [ qsTr("Find someone"), qsTr("Join room"), qsTr("Create room"), ]