mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Switched to app bar
This commit is contained in:
@@ -90,8 +90,6 @@ public class ActivityCode extends ActivityBase {
|
||||
searching = savedInstanceState.getString("fair:searching");
|
||||
}
|
||||
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
|
||||
getOnBackPressedDispatcher().addCallback(this, new OnBackPressedCallback(true) {
|
||||
@Override
|
||||
public void handleOnBackPressed() {
|
||||
@@ -102,6 +100,8 @@ public class ActivityCode extends ActivityBase {
|
||||
View view = LayoutInflater.from(this).inflate(R.layout.activity_code, null);
|
||||
setContentView(view);
|
||||
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
|
||||
wvCode = findViewById(R.id.wvCode);
|
||||
pbWait = findViewById(R.id.pbWait);
|
||||
grpReady = findViewById(R.id.grpReady);
|
||||
|
||||
Reference in New Issue
Block a user