mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -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) {
|
if (ServerUtils.isServerStarted) {
|
||||||
ip = ServerUtils.getSocketAddress()
|
ip = ServerUtils.getSocketAddress()
|
||||||
layoutServerStarted()
|
layoutServerStarted()
|
||||||
|
} else {
|
||||||
|
layoutServerStopped()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user