mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 21:07:11 +01:00
Fix blanck white background in MainActivty after returning from SearchActivity.
This commit is contained in:
parent
06fdd12f0c
commit
5770393498
@ -38,7 +38,7 @@ dependencies {
|
|||||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||||
implementation 'androidx.browser:browser:1.2.0'
|
implementation 'androidx.browser:browser:1.2.0'
|
||||||
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.3'
|
||||||
// Lifecycle components
|
// Lifecycle components
|
||||||
def lifecycleVersion = '2.2.0'
|
def lifecycleVersion = '2.2.0'
|
||||||
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
|
||||||
|
@ -274,7 +274,8 @@
|
|||||||
android:name=".Activity.SearchActivity"
|
android:name=".Activity.SearchActivity"
|
||||||
android:label="@string/search_activity_label"
|
android:label="@string/search_activity_label"
|
||||||
android:parentActivityName=".Activity.MainActivity"
|
android:parentActivityName=".Activity.MainActivity"
|
||||||
android:theme="@style/AppTheme.Slidable" />
|
android:theme="@style/AppTheme.Slidable"
|
||||||
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".Activity.RulesActivity"
|
android:name=".Activity.RulesActivity"
|
||||||
android:label="@string/rules_activity_label"
|
android:label="@string/rules_activity_label"
|
||||||
@ -328,7 +329,8 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".Activity.MainActivity"
|
android:name=".Activity.MainActivity"
|
||||||
android:label="@string/application_name"
|
android:label="@string/application_name"
|
||||||
android:theme="@style/AppTheme.Launcher">
|
android:theme="@style/AppTheme.Launcher"
|
||||||
|
android:windowSoftInputMode="adjustPan">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ package ml.docilealligator.infinityforreddit.Post;
|
|||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.text.Html;
|
import android.text.Html;
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import org.json.JSONArray;
|
import org.json.JSONArray;
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
@ -563,7 +562,6 @@ public class ParsePost {
|
|||||||
boolean availablePost = true;
|
boolean availablePost = true;
|
||||||
if (subredditFilterList != null) {
|
if (subredditFilterList != null) {
|
||||||
for (SubredditFilter subredditFilter : subredditFilterList) {
|
for (SubredditFilter subredditFilter : subredditFilterList) {
|
||||||
Log.i("sasdfasdf", subredditFilter.getSubredditName() + " " + post.getSubredditName());
|
|
||||||
if (subredditFilter.getSubredditName().equals(post.getSubredditName())) {
|
if (subredditFilter.getSubredditName().equals(post.getSubredditName())) {
|
||||||
availablePost = false;
|
availablePost = false;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user