mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-25 08:07:29 +00:00
finalization
This commit is contained in:
parent
6f120fffd4
commit
0f8d4c741a
@ -9,8 +9,8 @@ android {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 29
|
||||
|
||||
versionCode 43
|
||||
versionName '17.7'
|
||||
versionCode 44
|
||||
versionName '17.8'
|
||||
|
||||
multiDexEnabled true
|
||||
|
||||
|
@ -181,9 +181,7 @@ public final class DirectMessagesUserInbox extends BaseLanguageActivity {
|
||||
searchUsername(text);
|
||||
});
|
||||
|
||||
dmsBinding.rvDirectMessages.setAdapter(
|
||||
messageItemsAdapter
|
||||
);
|
||||
dmsBinding.rvDirectMessages.setAdapter(messageItemsAdapter);
|
||||
|
||||
new UserInboxFetcher(threadModel.getThreadId(), UserInboxDirection.OLDER, null, fetchListener).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||
}
|
||||
@ -205,13 +203,7 @@ public final class DirectMessagesUserInbox extends BaseLanguageActivity {
|
||||
}
|
||||
|
||||
private void searchUsername(final String text) {
|
||||
if (Main.scanHack != null) {
|
||||
Main.scanHack.onResult(text);
|
||||
setResult(6969);
|
||||
Intent intent = new Intent(getApplicationContext(), Main.class);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
startActivity(intent);
|
||||
}
|
||||
startActivity(new Intent(getApplicationContext(), ProfileViewer.class).putExtra(Constants.EXTRAS_USERNAME, text));
|
||||
}
|
||||
|
||||
private final View.OnClickListener newCommentListener = v -> {
|
||||
@ -224,10 +216,9 @@ public final class DirectMessagesUserInbox extends BaseLanguageActivity {
|
||||
boolean ok = false;
|
||||
|
||||
protected Void doInBackground(Void... lmao) {
|
||||
final String url = "https://i.instagram.com/api/v1/direct_v2/create_group_thread/";
|
||||
final String url2 = "https://i.instagram.com/api/v1/direct_v2/threads/broadcast/text/";
|
||||
final String cookie = settingsHelper.getString(Constants.COOKIE);
|
||||
try {
|
||||
final String url2 = "https://i.instagram.com/api/v1/direct_v2/threads/broadcast/text/";
|
||||
final HttpURLConnection urlConnection2 = (HttpURLConnection) new URL(url2).openConnection();
|
||||
urlConnection2.setRequestMethod("POST");
|
||||
urlConnection2.setRequestProperty("User-Agent", Constants.I_USER_AGENT);
|
||||
|
@ -134,11 +134,7 @@ public final class NotificationsViewer extends BaseLanguageActivity implements S
|
||||
|
||||
|
||||
private void searchUsername(final String text) {
|
||||
if (Main.scanHack != null) {
|
||||
Main.scanHack.onResult(text);
|
||||
setResult(6969);
|
||||
finish();
|
||||
}
|
||||
startActivity(new Intent(getApplicationContext(), ProfileViewer.class).putExtra(Constants.EXTRAS_USERNAME, text));
|
||||
}
|
||||
|
||||
class ProfileAction extends AsyncTask<String, Void, Void> {
|
||||
|
2
fastlane/metadata/android/changelogs/44.txt
Normal file
2
fastlane/metadata/android/changelogs/44.txt
Normal file
@ -0,0 +1,2 @@
|
||||
* New profile view for visiting profiles from mention/post/comment without losing all previous screens
|
||||
* Bug fixes (incl. #49 and #50)
|
Loading…
Reference in New Issue
Block a user