Added service restart

This commit is contained in:
Mark Qvist 2025-07-14 00:11:21 +02:00
parent aee675d38b
commit 0d2f7b25a3
3 changed files with 93 additions and 3 deletions

View file

@ -360,6 +360,23 @@ MDScreen:
text_size: self.width, None
height: self.texture_size[1]
MDBoxLayout:
id: connectivity_shared_access_fields
orientation: "vertical"
size_hint_y: None
height: self.minimum_height
padding: [0, 0, 0, dp(32)]
MDRectangleFlatIconButton:
id: button_service_restart
icon: "restart"
text: "Restart RNS Service"
padding: [dp(0), dp(14), dp(0), dp(14)]
icon_size: dp(24)
font_size: dp(16)
size_hint: [1.0, None]
on_release: root.app.restart_service_action(self)
MDBoxLayout:
orientation: "horizontal"
padding: [0,0,dp(24),0]