mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 12:42:56 -04:00
Merge pull request #1863 from yashk2000/feature/yashk2000/1852-change-layout-when-server-stopped
Fix #1852 Change layout when the server is stopped via notification
This commit is contained in:
commit
3ecfe6d4bb
@ -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