1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00
This commit is contained in:
Austin Huang 2020-07-20 11:56:44 -04:00
parent f7e5914df8
commit 28afeab0ea
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
3 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,7 @@ android {
targetSdkVersion 29 targetSdkVersion 29
versionCode 27 versionCode 27
versionName '16.6-a6' versionName '16.6-a7'
multiDexEnabled true multiDexEnabled true

View File

@ -361,7 +361,10 @@ public final class PostViewer extends BaseLanguageActivity {
private void searchUsername(final String text) { private void searchUsername(final String text) {
if (Main.scanHack != null) { if (Main.scanHack != null) {
Main.scanHack.onResult(text); Main.scanHack.onResult(text);
finish(); setResult(6969);
Intent intent = new Intent(getApplicationContext(), Main.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
} }
} }

View File

@ -98,6 +98,8 @@ public final class ProfileViewer extends BaseLanguageActivity {
final RequestManager glideRequestManager = Glide.with(this); final RequestManager glideRequestManager = Glide.with(this);
if (glideRequestManager == null) return;
glideRequestManager.load(profilePicUrl).addListener(new RequestListener<Drawable>() { glideRequestManager.load(profilePicUrl).addListener(new RequestListener<Drawable>() {
@Override @Override
public boolean onLoadFailed(@Nullable final GlideException e, final Object model, final Target<Drawable> target, final boolean isFirstResource) { public boolean onLoadFailed(@Nullable final GlideException e, final Object model, final Target<Drawable> target, final boolean isFirstResource) {