mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
add refresh button to mqtt peers dialog
This commit is contained in:
parent
fac2eca5b2
commit
2ebdcd6433
2 changed files with 7 additions and 0 deletions
|
@ -427,6 +427,12 @@ public class BoardDelegate extends DelegateBase
|
||||||
.setTitle( R.string.menu_about_peers )
|
.setTitle( R.string.menu_about_peers )
|
||||||
.setView( psv )
|
.setView( psv )
|
||||||
.setPositiveButton( android.R.string.ok, null )
|
.setPositiveButton( android.R.string.ok, null )
|
||||||
|
.setNegativeButton( R.string.button_refresh, new OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick( DialogInterface dlg, int bttn ) {
|
||||||
|
showDialogFragment( DlgID.MQTT_PEERS );
|
||||||
|
}
|
||||||
|
} )
|
||||||
.create();
|
.create();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
|
|
||||||
<string name="peers_info_pending">Querying server…</string>
|
<string name="peers_info_pending">Querying server…</string>
|
||||||
<string name="no_peers_info">Peers information not available</string>
|
<string name="no_peers_info">Peers information not available</string>
|
||||||
|
<string name="button_refresh">Refresh</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue