~etherpulse/podbird/bottom_edge

« back to all changes in this revision

Viewing changes to app/ui/SettingsPage.qml

  • Committer: Eran Uzan
  • Date: 2017-06-10 21:44:35 UTC
  • Revision ID: etherpulse@gmail.com-20170610214435-85wcnwloirmrkjwv
Added bottom edge support toggle in setting page

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
 
151
151
            ListItem {
152
152
                ListItemLayout {
 
153
                    id: bottomEdgeSwitchLayout
 
154
                    title.text: i18n.tr("Enable bottom edge slide interaction")
 
155
                    Switch {
 
156
                        SlotsLayout.position: SlotsLayout.Last
 
157
                        checked: podbird.settings.enableBottomEdge
 
158
                        onClicked: podbird.settings.enableBottomEdge = checked
 
159
                    }
 
160
                }
 
161
                divider.visible: false
 
162
                height: bottomEdgeSwitchLayout.height
 
163
            }
 
164
 
 
165
            ListItem {
 
166
                ListItemLayout {
153
167
                    id: gridViewLayout
154
168
                    title.text: i18n.tr("Displays podcasts in a list view")
155
169
                    Switch {