Refactor onServerFailed() Toast message

This commit is contained in:
Adeel Zafar 2019-08-12 18:20:35 +05:00
parent eb109078c2
commit 6f45144482

View File

@ -421,8 +421,7 @@ public class ZimHostActivity extends BaseActivity implements
}
@Override public void serverFailed() {
String message = String.format(getString(R.string.server_failed_message));
Toast.makeText(this, message, Toast.LENGTH_LONG).show();
Toast.makeText(this, R.string.server_failed_message, Toast.LENGTH_LONG).show();
}
@Override public void hotspotTurnedOn(WifiConfiguration wifiConfiguration) {