mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
finalization
This commit is contained in:
parent
6f120fffd4
commit
0f8d4c741a
@ -9,8 +9,8 @@ android {
|
|||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
|
|
||||||
versionCode 43
|
versionCode 44
|
||||||
versionName '17.7'
|
versionName '17.8'
|
||||||
|
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
|
@ -181,9 +181,7 @@ public final class DirectMessagesUserInbox extends BaseLanguageActivity {
|
|||||||
searchUsername(text);
|
searchUsername(text);
|
||||||
});
|
});
|
||||||
|
|
||||||
dmsBinding.rvDirectMessages.setAdapter(
|
dmsBinding.rvDirectMessages.setAdapter(messageItemsAdapter);
|
||||||
messageItemsAdapter
|
|
||||||
);
|
|
||||||
|
|
||||||
new UserInboxFetcher(threadModel.getThreadId(), UserInboxDirection.OLDER, null, fetchListener).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
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) {
|
private void searchUsername(final String text) {
|
||||||
if (Main.scanHack != null) {
|
startActivity(new Intent(getApplicationContext(), ProfileViewer.class).putExtra(Constants.EXTRAS_USERNAME, text));
|
||||||
Main.scanHack.onResult(text);
|
|
||||||
setResult(6969);
|
|
||||||
Intent intent = new Intent(getApplicationContext(), Main.class);
|
|
||||||
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
|
||||||
startActivity(intent);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private final View.OnClickListener newCommentListener = v -> {
|
private final View.OnClickListener newCommentListener = v -> {
|
||||||
@ -224,10 +216,9 @@ public final class DirectMessagesUserInbox extends BaseLanguageActivity {
|
|||||||
boolean ok = false;
|
boolean ok = false;
|
||||||
|
|
||||||
protected Void doInBackground(Void... lmao) {
|
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);
|
final String cookie = settingsHelper.getString(Constants.COOKIE);
|
||||||
try {
|
try {
|
||||||
final String url2 = "https://i.instagram.com/api/v1/direct_v2/threads/broadcast/text/";
|
|
||||||
final HttpURLConnection urlConnection2 = (HttpURLConnection) new URL(url2).openConnection();
|
final HttpURLConnection urlConnection2 = (HttpURLConnection) new URL(url2).openConnection();
|
||||||
urlConnection2.setRequestMethod("POST");
|
urlConnection2.setRequestMethod("POST");
|
||||||
urlConnection2.setRequestProperty("User-Agent", Constants.I_USER_AGENT);
|
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) {
|
private void searchUsername(final String text) {
|
||||||
if (Main.scanHack != null) {
|
startActivity(new Intent(getApplicationContext(), ProfileViewer.class).putExtra(Constants.EXTRAS_USERNAME, text));
|
||||||
Main.scanHack.onResult(text);
|
|
||||||
setResult(6969);
|
|
||||||
finish();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ProfileAction extends AsyncTask<String, Void, Void> {
|
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