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 {
id: favoritesBarLoader
active: appSettings.showFavoritesBar
active: appSettings.shouldShowFavoritesBar
height: active ? item.height : 0
anchors.top: barRow.bottom
anchors.left: parent.left

View File

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

View File

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