mirror of
https://github.com/gsantner/dandelion
synced 2025-09-10 02:39:43 +02:00
removed swipeviewfunction from share activities, removed snackbar on menu - exit
This commit is contained in:
parent
07bb60ee97
commit
1fcafa088f
7 changed files with 13 additions and 61 deletions
|
@ -496,15 +496,7 @@ public class MainActivity extends AppCompatActivity
|
|||
}
|
||||
|
||||
case R.id.action_exit: {
|
||||
Snackbar snackbar = Snackbar
|
||||
.make(swipeView, R.string.confirm_exit, Snackbar.LENGTH_LONG)
|
||||
.setAction(R.string.yes, new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
moveTaskToBack(true);
|
||||
}
|
||||
});
|
||||
snackbar.show();
|
||||
moveTaskToBack(true);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue