Version 4.1.1-beta1.

This commit is contained in:
Alex Ning 2020-12-02 19:13:11 +08:00
parent 805017233b
commit 88f6d3ae15
3 changed files with 6 additions and 5 deletions

View File

@ -6,8 +6,8 @@ android {
applicationId "ml.docilealligator.infinityforreddit" applicationId "ml.docilealligator.infinityforreddit"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 30
versionCode 50 versionCode 51
versionName "4.1.0" versionName "4.1.1-beta1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions { javaCompileOptions {
annotationProcessorOptions { annotationProcessorOptions {
@ -97,7 +97,7 @@ dependencies {
implementation 'com.github.Piasy:BigImageViewer:1.6.5' implementation 'com.github.Piasy:BigImageViewer:1.6.5'
implementation 'androidx.biometric:biometric:1.1.0-rc01' implementation 'androidx.biometric:biometric:1.1.0-rc01'
implementation 'com.airbnb.android:lottie:3.4.4' implementation 'com.airbnb.android:lottie:3.4.4'
//implementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2' implementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2'
def toroVersion = '3.7.0.2010003' def toroVersion = '3.7.0.2010003'
implementation "im.ene.toro3:toro:$toroVersion" implementation "im.ene.toro3:toro:$toroVersion"

View File

@ -11,6 +11,7 @@ import androidx.annotation.Nullable;
import com.evernote.android.state.StateSaver; import com.evernote.android.state.StateSaver;
import com.livefront.bridge.Bridge; import com.livefront.bridge.Bridge;
import com.livefront.bridge.SavedStateHandler; import com.livefront.bridge.SavedStateHandler;
import com.melegy.redscreenofdeath.RedScreenOfDeath;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
@ -26,7 +27,7 @@ public class Infinity extends Application {
public void onCreate() { public void onCreate() {
super.onCreate(); super.onCreate();
//RedScreenOfDeath.init(this); RedScreenOfDeath.init(this);
mAppComponent = DaggerAppComponent.builder() mAppComponent = DaggerAppComponent.builder()
.appModule(new AppModule(this)) .appModule(new AppModule(this))

View File

@ -41,7 +41,7 @@ public class APIUtils {
public static final String AUTHORIZATION_KEY = "Authorization"; public static final String AUTHORIZATION_KEY = "Authorization";
public static final String AUTHORIZATION_BASE = "bearer "; public static final String AUTHORIZATION_BASE = "bearer ";
public static final String USER_AGENT_KEY = "User-Agent"; public static final String USER_AGENT_KEY = "User-Agent";
public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v4.1.0 (by /u/Hostilenemy)"; public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v4.1.1-beta1 (by /u/Hostilenemy)";
public static final String GRANT_TYPE_KEY = "grant_type"; public static final String GRANT_TYPE_KEY = "grant_type";
public static final String GRANT_TYPE_REFRESH_TOKEN = "refresh_token"; public static final String GRANT_TYPE_REFRESH_TOKEN = "refresh_token";