session-android/src/org/thoughtcrime/securesms/util/DynamicIntroTheme.java

17 lines
414 B
Java
Raw Normal View History

package org.thoughtcrime.securesms.util;
import android.app.Activity;
2019-07-24 02:30:23 +00:00
import network.loki.messenger.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;
}
}