mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Fix #1852 Change layout when the server is stopped via notification
This commit is contained in:
parent
aad350292d
commit
e4ccfbac91
@ -177,6 +177,8 @@ class ZimHostActivity : BaseActivity(), ZimHostCallbacks, ZimHostContract.View {
|
||||
if (ServerUtils.isServerStarted) {
|
||||
ip = ServerUtils.getSocketAddress()
|
||||
layoutServerStarted()
|
||||
} else {
|
||||
layoutServerStopped()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user