Fix #1852 Change layout when the server is stopped via notification

This commit is contained in:
Yash Khare 2020-03-06 20:37:40 +05:30
parent aad350292d
commit e4ccfbac91

View File

@ -177,6 +177,8 @@ class ZimHostActivity : BaseActivity(), ZimHostCallbacks, ZimHostContract.View {
if (ServerUtils.isServerStarted) {
ip = ServerUtils.getSocketAddress()
layoutServerStarted()
} else {
layoutServerStopped()
}
}