Skip to content

Commit

Permalink
Let LogSubmitActivity adapt to theme
Browse files Browse the repository at this point in the history
Addresses signalapp#2625
Closes signalapp#5665
// FREEBIE
  • Loading branch information
FeuRenard authored and moxie0 committed Sep 14, 2016
1 parent 677f80b commit 24c99c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/org/thoughtcrime/securesms/LogSubmitActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,20 @@
import android.view.MenuItem;
import android.widget.Toast;

import org.thoughtcrime.securesms.util.DynamicTheme;
import org.whispersystems.libpastelog.SubmitLogFragment;

/**
* Activity for submitting logcat logs to a pastebin service.
*/
public class LogSubmitActivity extends BaseActionBarActivity implements SubmitLogFragment.OnLogSubmittedListener {

private static final String TAG = LogSubmitActivity.class.getSimpleName();
private DynamicTheme dynamicTheme = new DynamicTheme();

@Override
protected void onCreate(Bundle icicle) {
dynamicTheme.onCreate(this);
super.onCreate(icicle);
setContentView(R.layout.log_submit_activity);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
Expand All @@ -30,6 +34,7 @@ protected void onCreate(Bundle icicle) {

@Override
protected void onResume() {
dynamicTheme.onResume(this);
super.onResume();
}

Expand Down

0 comments on commit 24c99c3

Please sign in to comment.