mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 19:15:16 +00:00
17 lines
426 B
Java
17 lines
426 B
Java
package org.thoughtcrime.securesms.util;
|
|
|
|
import android.app.Activity;
|
|
|
|
import org.thoughtcrime.securesms.R;
|
|
|
|
public class DynamicNoActionBarTheme extends DynamicTheme {
|
|
@Override
|
|
protected int getSelectedTheme(Activity activity) {
|
|
String theme = TextSecurePreferences.getTheme(activity);
|
|
|
|
if (theme.equals("dark")) return R.style.TextSecure_DarkNoActionBar;
|
|
|
|
return R.style.TextSecure_LightNoActionBar;
|
|
}
|
|
}
|