Fixed some UI issues

This commit is contained in:
PeratX 2017-12-18 20:11:01 +08:00
parent 4bd543430f
commit 57191b8fd0
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ public class DNSTestFragment extends ToolbarFragment {
testText = testServer(dnsQuery, type, dnsServer, testDomain, testText);
}
mHandler.obtainMessage(DnsTestHandler.MSG_TEST_DONE).sendToTarget();
} catch (IllegalStateException ignored) {
} catch (Exception e) {
Logger.logException(e);
}

View File

@ -49,6 +49,7 @@ public class HomeFragment extends ToolbarFragment {
public void checkStatus() {
menu.findItem(R.id.nav_home).setChecked(true);
toolbar.setTitle(R.string.action_home);
updateUserInterface();
}
@Override