Version 1.13
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
|
||||
android:launchMode="singleTop"
|
||||
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
||||
android:theme="@style/AppTheme.Light.Editor">
|
||||
android:theme="@style/AppThemeEditorDark">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@@ -85,32 +85,12 @@
|
||||
<data android:mimeType="text/plain" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="sharedcode.turboeditor.activity.PreferenceAbout"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/info"
|
||||
android:parentActivityName=".HomeActivity"
|
||||
android:theme="@style/AppTheme.Dark">
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".HomeActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="sharedcode.turboeditor.activity.LicensesActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/open_source_license"
|
||||
android:parentActivityName="sharedcode.turboeditor.activity.PreferenceAbout"
|
||||
android:theme="@style/AppTheme.Light">
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".PreferenceAbout" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="sharedcode.turboeditor.activity.SelectFileActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/open_a_file"
|
||||
android:parentActivityName=".HomeActivity"
|
||||
android:theme="@style/AppTheme.Light">
|
||||
android:theme="@style/AppThemeBaseLight">
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".HomeActivity" />
|
||||
|
@@ -22,8 +22,10 @@ package com.maskyn.fileeditor;
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.crashlytics.android.Crashlytics;
|
||||
|
||||
import sharedcode.turboeditor.activity.BaseHomeActivity;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import sharedcode.turboeditor.util.ProCheckUtils;
|
||||
|
||||
public class HomeActivity extends BaseHomeActivity {
|
||||
|
||||
@@ -36,11 +38,13 @@ public class HomeActivity extends BaseHomeActivity {
|
||||
if(PreferenceHelper.getSendErrorReports(this))
|
||||
Crashlytics.start(this);
|
||||
// setup the ads
|
||||
adsHelper = new AdsHelper(this);
|
||||
if(!ProCheckUtils.isPro(this))
|
||||
adsHelper = new AdsHelper(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void displayInterstitial() {
|
||||
adsHelper.displayInterstitial();
|
||||
if(adsHelper != null && !ProCheckUtils.isPro(this))
|
||||
adsHelper.displayInterstitial();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user