show browser favourites bar by default

This commit is contained in:
Iuri Matias 2021-03-16 12:13:25 -04:00
parent 016dd3081b
commit 9c404a1047
3 changed files with 4 additions and 4 deletions

View File

@ -258,7 +258,7 @@ Rectangle {
Loader { Loader {
id: favoritesBarLoader id: favoritesBarLoader
active: appSettings.showFavoritesBar active: appSettings.shouldShowFavoritesBar
height: active ? item.height : 0 height: active ? item.height : 0
anchors.top: barRow.bottom anchors.top: barRow.bottom
anchors.left: parent.left anchors.left: parent.left

View File

@ -49,9 +49,9 @@ Item {
//% "Show favorites bar" //% "Show favorites bar"
text: qsTrId("show-favorites-bar") text: qsTrId("show-favorites-bar")
isSwitch: true isSwitch: true
switchChecked: appSettings.showFavoritesBar switchChecked: appSettings.shouldShowFavoritesBar
onClicked: function (checked) { onClicked: function (checked) {
appSettings.showFavoritesBar = checked appSettings.shouldShowFavoritesBar = checked
} }
} }

View File

@ -110,7 +110,7 @@ RowLayout {
// Browser settings // Browser settings
property bool showBrowserSelector: true property bool showBrowserSelector: true
property bool openLinksInStatus: true property bool openLinksInStatus: true
property bool showFavoritesBar: false property bool shouldShowFavoritesBar: true
property string browserHomepage: "" property string browserHomepage: ""
property int browserSearchEngine: Constants.browserSearchEngineNone property int browserSearchEngine: Constants.browserSearchEngineNone
property int browserEthereumExplorer: Constants.browserEthereumExplorerNone property int browserEthereumExplorer: Constants.browserEthereumExplorerNone