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:
Seán Mac Gillicuddy 2020-03-10 15:46:43 +00:00 committed by GitHub
commit 3ecfe6d4bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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