mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-01 04:17:21 +01:00
v1.10.1, bug fix
Signed-off-by: nuclearfog <hatespirit666@gmail.com>
This commit is contained in:
parent
01a2a4a637
commit
cf24c18184
@ -10,8 +10,8 @@ android {
|
||||
applicationId 'org.nuclearfog.twidda'
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 30
|
||||
versionCode 45
|
||||
versionName '1.10'
|
||||
versionCode 46
|
||||
versionName '1.10.1'
|
||||
// limiting language support for smaller APK size
|
||||
resConfigs 'en', 'de-rDE', 'zh-rCN'
|
||||
vectorDrawables.useSupportLibrary true
|
||||
|
@ -125,10 +125,10 @@ public class UserAction extends AsyncTask<UserAction.Action, User, Relation> {
|
||||
case ACTION_UNBLOCK:
|
||||
user = mTwitter.unblockUser(userId);
|
||||
publishProgress(user);
|
||||
appDB.muteUser(userId, false);
|
||||
// remove from exclude list only if user is not muted
|
||||
relation = mTwitter.getConnection(userId);
|
||||
if (!relation.isMuted()) {
|
||||
appDB.muteUser(userId, false);
|
||||
exclDB.removeUser(userId);
|
||||
}
|
||||
return relation;
|
||||
@ -142,10 +142,10 @@ public class UserAction extends AsyncTask<UserAction.Action, User, Relation> {
|
||||
case ACTION_UNMUTE:
|
||||
user = mTwitter.unmuteUser(userId);
|
||||
publishProgress(user);
|
||||
appDB.muteUser(userId, false);
|
||||
// remove from exclude list only if user is not blocked
|
||||
relation = mTwitter.getConnection(userId);
|
||||
if (!relation.isBlocked()) {
|
||||
appDB.muteUser(userId, false);
|
||||
exclDB.removeUser(userId);
|
||||
}
|
||||
return relation;
|
||||
|
Loading…
Reference in New Issue
Block a user