Before Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 143 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 206 B |
After Width: | Height: | Size: 263 B |
After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 9.1 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 223 B |
After Width: | Height: | Size: 261 B |
After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 32 KiB |
@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|