mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Stops actionbar from reloading after canceling a search
This commit is contained in:
parent
9d14b1e0dd
commit
24c22fe30f
@ -37,6 +37,8 @@ public class SearchActivity extends AppCompatActivity implements AdapterView.OnI
|
||||
|
||||
@Override
|
||||
public void finish() {
|
||||
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
|
||||
setSupportActionBar(toolbar);
|
||||
super.finish();
|
||||
overridePendingTransition(0, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user