mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 22:54:29 +00:00
ui: disable subs indicator when chat is stopped (#4672)
This commit is contained in:
+4
-1
@@ -421,7 +421,10 @@ fun SubscriptionStatusIndicator(click: (() -> Unit)) {
|
||||
}
|
||||
}
|
||||
|
||||
SimpleButtonFrame(click = click) {
|
||||
SimpleButtonFrame(
|
||||
click = click,
|
||||
disabled = chatModel.chatRunning.value != true
|
||||
) {
|
||||
SubscriptionStatusIndicatorView(subs = subs, hasSess = hasSess)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user