Skip to content

Commit 5d96d0b

Browse files
committed
Change country to city in NodeScreen. Fix spacing.
1 parent 24b20d0 commit 5d96d0b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/kv/meile.kv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ WindowManager:
431431
id: qr
432432
source: root.qr_address
433433
size_hint_y: None
434-
height: sp(300)
434+
height: sp(200)
435435
allow_stretch: True
436436
keep_ratio: True
437437

@@ -1209,7 +1209,7 @@ WindowManager:
12091209
size_hint_x: 2.3
12101210

12111211
MDLabel:
1212-
text: "Location"
1212+
text: " City"
12131213
bold: True
12141214
size_hint_x: 1.7
12151215

@@ -1219,7 +1219,7 @@ WindowManager:
12191219
size_hint_x: 2.2
12201220

12211221
MDLabel:
1222-
text: "Protocol"
1222+
text: " Protocol"
12231223
bold: True
12241224
size_hint_x: 1.6
12251225

src/ui/screens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ def add_rv_data(self, node):
22242224
{
22252225
"viewclass" : "RecycleViewRow",
22262226
"moniker_text" : node[NodeKeys.NodesInfoKeys[0]],
2227-
"country_text" : node[NodeKeys.NodesInfoKeys[4]],
2227+
"country_text" : node[NodeKeys.NodesInfoKeys[5]],
22282228
"protocol_text" : node[NodeKeys.NodesInfoKeys[13]],
22292229
"speed_text" : speedText,
22302230
"isp_type_text" : node[NodeKeys.NodesInfoKeys[15]] if node[NodeKeys.NodesInfoKeys[15]] else "Unknown",

0 commit comments

Comments
 (0)