Switch gallery to permanent dark theme.

This commit is contained in:
Greyson Parrelli 2019-03-19 17:14:41 -07:00
parent 932e7b4af5
commit 8a7cac7c03
5 changed files with 3 additions and 10 deletions

View File

@ -281,7 +281,7 @@
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
<activity android:name=".mediasend.MediaSendActivity"
android:theme="@style/TextSecure.LightNoActionBar"
android:theme="@style/TextSecure.DarkNoActionBar"
android:windowSoftInputMode="stateHidden"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>

View File

@ -10,7 +10,7 @@
</item>
<item>
<shape android:shape="oval">
<solid android:color="@color/core_grey_05" />
<solid android:color="@color/core_white" />
</shape>
</item>
</ripple>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
<solid android:color="@color/core_grey_05"/>
<solid android:color="@color/core_white"/>
</shape>

View File

@ -24,14 +24,11 @@ import org.thoughtcrime.securesms.R;
import org.thoughtcrime.securesms.TransportOption;
import org.thoughtcrime.securesms.database.Address;
import org.thoughtcrime.securesms.logging.Log;
import org.thoughtcrime.securesms.mms.MediaConstraints;
import org.thoughtcrime.securesms.permissions.Permissions;
import org.thoughtcrime.securesms.providers.BlobProvider;
import org.thoughtcrime.securesms.recipients.Recipient;
import org.thoughtcrime.securesms.scribbles.ScribbleFragment;
import org.thoughtcrime.securesms.util.DynamicLanguage;
import org.thoughtcrime.securesms.util.DynamicNoActionBarTheme;
import org.thoughtcrime.securesms.util.DynamicTheme;
import org.thoughtcrime.securesms.util.MediaUtil;
import org.thoughtcrime.securesms.util.Util;
import org.thoughtcrime.securesms.util.concurrent.SimpleTask;
@ -73,7 +70,6 @@ public class MediaSendActivity extends PassphraseRequiredActionBarActivity imple
private static final String TAG_SEND = "send";
private static final String TAG_CAMERA = "camera";
private final DynamicTheme dynamicTheme = new DynamicNoActionBarTheme();
private final DynamicLanguage dynamicLanguage = new DynamicLanguage();
private Recipient recipient;
@ -121,7 +117,6 @@ public class MediaSendActivity extends PassphraseRequiredActionBarActivity imple
@Override
protected void onPreCreate() {
dynamicTheme.onCreate(this);
dynamicLanguage.onCreate(this);
}
@ -186,7 +181,6 @@ public class MediaSendActivity extends PassphraseRequiredActionBarActivity imple
@Override
protected void onResume() {
super.onResume();
dynamicTheme.onResume(this);
dynamicLanguage.onResume(this);
}

View File

@ -26,7 +26,6 @@ import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.view.WindowManager;
import android.widget.TextView;
import android.widget.Toast;
import org.thoughtcrime.securesms.R;
import org.thoughtcrime.securesms.TransportOption;