mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 05:03:39 +00:00
Back button for share activity.
This commit is contained in:
parent
1411c03a7f
commit
43360fb2c3
@ -32,6 +32,7 @@ import android.widget.ImageView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.ActionBar;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
|
||||
import org.thoughtcrime.securesms.components.SearchToolbar;
|
||||
@ -151,6 +152,9 @@ public class ShareActivity extends PassphraseRequiredActionBarActivity
|
||||
private void initializeToolbar() {
|
||||
Toolbar toolbar = findViewById(R.id.toolbar);
|
||||
setSupportActionBar(toolbar);
|
||||
ActionBar actionBar = getSupportActionBar();
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
actionBar.setHomeButtonEnabled(true);
|
||||
}
|
||||
|
||||
private void initializeResources() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user