[-]
[+]
|
Changed |
_service:tar_git:harbour-tidings-1.3.1.tar.bz2/qml/pages/ViewPage.qml
^
|
@@ -346,8 +346,8 @@
Image {
id: shelveIcon
anchors.right: parent.right
- source: itemData.shelved ? "image://theme/icon-l-favorite"
- : "image://theme/icon-l-star"
+ source: itemData.shelved ? "image://theme/icon-m-favorite-selected"
+ : "image://theme/icon-m-favorite"
width: Theme.itemSizeSmall
height: width
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-tidings-1.3.1.tar.bz2/qml/pages/WebPage.qml
^
|
@@ -2,7 +2,6 @@
import Sailfish.Silica 1.0
import Sailfish.WebView 1.0
import Sailfish.WebEngine 1.0
-import Sailfish.WebView.Popups 1.0
Page {
id: root
@@ -23,15 +22,15 @@
id: webComponent
WebView {
+ anchors.fill: parent
id: webview
- httpUserAgent: "Mozilla/5.0 (Mobile; rv:78.0) Gecko/78.0"
- + " Firefox/78.0"
+ httpUserAgent: "Mozilla/5.0 (Mobile; rv:78.0) Gecko/78.0 Firefox/78.0"
/* This will probably be required from 4.4 on. */
Component.onCompleted: {
- //WebEngineSettings.setPreference("security.disable_cors_checks", true, WebEngineSettings.BoolPref)
- //WebEngineSettings.setPreference("security.fileuri.strict_origin_policy", false, WebEngineSettings.BoolPref)
+ WebEngineSettings.setPreference("security.disable_cors_checks", true, WebEngineSettings.BoolPref)
+ WebEngineSettings.setPreference("security.fileuri.strict_origin_policy", false, WebEngineSettings.BoolPref)
if (configFontScaleWebEnabled.booleanValue)
{
experimental.preferences.minimumFontSize =
@@ -40,7 +39,7 @@
}
onRecvAsyncMessage: {
- /*
+
console.debug(message)
switch (message) {
case "embed:contentOrientationChanged":
@@ -51,13 +50,12 @@
}
break
}
- */
+
}
//property int _backCount: 0
//property int _previousContentY;
- anchors.fill: parent
url: root.url
onLoadingChanged: {}
|