mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-21 02:01:03 +07:00
Fix ListViewType scrolling on country selection page
This commit is contained in:
@@ -51,7 +51,13 @@ PageType {
|
||||
|
||||
model: ApiCountryModel
|
||||
|
||||
currentIndex: 0
|
||||
// Commented out the binding to prevent constant reset to 0
|
||||
// currentIndex: 0
|
||||
|
||||
Component.onCompleted: {
|
||||
// One-time initialization to 0, allowing free scrolling afterward
|
||||
currentIndex = 0
|
||||
}
|
||||
|
||||
ButtonGroup {
|
||||
id: containersRadioButtonGroup
|
||||
|
||||
Reference in New Issue
Block a user