mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 18:54:21 +00:00
17 lines
418 B
Java
17 lines
418 B
Java
|
package org.thoughtcrime.securesms.util;
|
||
|
|
||
|
import android.app.Activity;
|
||
|
|
||
|
import org.thoughtcrime.securesms.R;
|
||
|
|
||
|
public class DynamicIntroTheme extends DynamicTheme {
|
||
|
@Override
|
||
|
protected int getSelectedTheme(Activity activity) {
|
||
|
String theme = TextSecurePreferences.getTheme(activity);
|
||
|
|
||
|
if (theme.equals("dark")) return R.style.TextSecure_DarkIntroTheme;
|
||
|
|
||
|
return R.style.TextSecure_LightIntroTheme;
|
||
|
}
|
||
|
}
|