mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Use signed in, signed out to describe whether the DB is open or closed.
Hopefully this gives users a better understanding of whether their messages and contacts are accessible than "Briar is running" and "Quit".
This commit is contained in:
@@ -135,19 +135,19 @@ public class DashboardActivity extends BriarActivity {
|
||||
});
|
||||
buttons.add(syncButton);
|
||||
|
||||
Button quitButton = new Button(this);
|
||||
quitButton.setLayoutParams(matchMatch);
|
||||
quitButton.setBackgroundResource(0);
|
||||
quitButton.setCompoundDrawablesWithIntrinsicBounds(0,
|
||||
Button signOutButton = new Button(this);
|
||||
signOutButton.setLayoutParams(matchMatch);
|
||||
signOutButton.setBackgroundResource(0);
|
||||
signOutButton.setCompoundDrawablesWithIntrinsicBounds(0,
|
||||
R.drawable.device_access_accounts, 0, 0);
|
||||
quitButton.setText(R.string.quit_button);
|
||||
quitButton.setOnClickListener(new OnClickListener() {
|
||||
signOutButton.setText(R.string.sign_out_button);
|
||||
signOutButton.setOnClickListener(new OnClickListener() {
|
||||
public void onClick(View view) {
|
||||
showSpinner();
|
||||
quit();
|
||||
signOut();
|
||||
}
|
||||
});
|
||||
buttons.add(quitButton);
|
||||
buttons.add(signOutButton);
|
||||
|
||||
int pad = LayoutUtils.getPadding(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user