diff --git a/src/org/thoughtcrime/securesms/MessageDetailsActivity.java b/src/org/thoughtcrime/securesms/MessageDetailsActivity.java index 19b1d5dd1c..275f1e4823 100644 --- a/src/org/thoughtcrime/securesms/MessageDetailsActivity.java +++ b/src/org/thoughtcrime/securesms/MessageDetailsActivity.java @@ -43,6 +43,8 @@ import org.thoughtcrime.securesms.recipients.Recipient; import org.thoughtcrime.securesms.recipients.Recipients; import org.thoughtcrime.securesms.util.DateUtils; import org.thoughtcrime.securesms.util.DirectoryHelper; +import org.thoughtcrime.securesms.util.DynamicLanguage; +import org.thoughtcrime.securesms.util.DynamicTheme; import org.thoughtcrime.securesms.util.GroupUtil; import java.io.IOException; @@ -77,8 +79,13 @@ public class MessageDetailsActivity extends PassphraseRequiredActionBarActivity private ListView recipientsList; private LayoutInflater inflater; + private DynamicTheme dynamicTheme = new DynamicTheme(); + private DynamicLanguage dynamicLanguage = new DynamicLanguage(); + @Override public void onCreate(Bundle bundle) { + dynamicTheme.onCreate(this); + dynamicLanguage.onCreate(this); super.onCreate(bundle); setContentView(R.layout.message_details_activity); @@ -88,6 +95,13 @@ public class MessageDetailsActivity extends PassphraseRequiredActionBarActivity getSupportLoaderManager().initLoader(0, null, this); } + @Override + protected void onResume() { + super.onResume(); + dynamicTheme.onResume(this); + dynamicLanguage.onResume(this); + } + private void initializeResources() { inflater = LayoutInflater.from(this); View header = inflater.inflate(R.layout.message_details_header, recipientsList, false);