mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Fix incorrect string resource usage for some activities.
This commit is contained in:
committed by
Greyson Parrelli
parent
b1d74e21e2
commit
82eebbc3b0
@@ -58,6 +58,7 @@ public class SubmitDebugLogActivity extends BaseActivity implements SubmitDebugL
|
||||
dynamicTheme.onCreate(this);
|
||||
setContentView(R.layout.submit_debug_log_activity);
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
getSupportActionBar().setTitle(R.string.AndroidManifest__log_submit);
|
||||
|
||||
initView();
|
||||
initViewModel();
|
||||
|
||||
@@ -115,8 +115,8 @@ public final class MessageDetailsActivity extends PassphraseRequiredActivity {
|
||||
}
|
||||
|
||||
private void initializeActionBar() {
|
||||
assert getSupportActionBar() != null;
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
requireSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
requireSupportActionBar().setTitle(R.string.AndroidManifest__message_details);
|
||||
|
||||
viewModel.getRecipientColor().observe(this, this::setActionBarColor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user