git.iko.soy/maciek134/podphoenix
on main help sign in
Minor code cleanups
commit4fcfeec1acb15558bf0d4dce87a6d26448e066fb authorMike Sheldon <mike@mikeasoft.com> dateThu 9 Apr 2020, 11:53 (7 years ago) parent34d47a5
2 files changed+5−6
app/ui/ImportPage.qml+3−4 app/ui/SearchPage.qml+2−2
app/ui/ImportPage.qml+3−4
@@ -3,7 +3,6 @@ import Ubuntu.Components 1.3
33import Ubuntu.Content 1.3
44
55
6−
76Page {
87 id: picker
98 property var activeTransfer
@@ -23,8 +22,8 @@ Page {
2322 anchors { fill: parent; topMargin: picker.header.height }
2423 visible: parent.visible
2524 showTitle: false
26− contentType: picker.contentType //ContentType.Pictures
27− handler: picker.handler //ContentHandler.Source
25+ contentType: picker.contentType
26+ handler: picker.handler
2827
2928 onPeerSelected: {
3029 peer.selectionType = ContentTransfer.Single
@@ -44,7 +43,6 @@ Page {
4443 })
4544 }
4645
47−
4846 onCancelPressed: {
4947 pageStack.pop()
5048 }
@@ -55,6 +53,7 @@ Page {
5553 anchors.fill: parent
5654 activeTransfer: picker.activeTransfer
5755 }
56+
5857 Component {
5958 id: resultComponent
6059 ContentItem {}
app/ui/SearchPage.qml+2−2
@@ -495,8 +495,8 @@ Page {
495495 id: loadingDialog
496496
497497 modal: true;
498− title: i18n.tr("Please wait!")
499− text: i18n.tr("Importing podcasts.")
498+ title: i18n.tr("Please wait")
499+ text: i18n.tr("Importing podcasts...")
500500
501501 ActivityIndicator {
502502 running: true