mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 21:45:14 -04:00
Refactor onServerFailed() Toast message
This commit is contained in:
parent
eb109078c2
commit
6f45144482
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user