Typo (POOL --> POLL)
This commit is contained in:
parent
5845fe199a
commit
16c2936d5a
|
@ -2445,7 +2445,7 @@ public class API {
|
|||
parameters.append("exclude_types[]=").append("poll").append("&");
|
||||
parameters = new StringBuilder(parameters.substring(0, parameters.length() - 1).substring(16));
|
||||
params.put("exclude_types[]", parameters.toString());
|
||||
}else if(type == DisplayNotificationsFragment.Type.POOL){
|
||||
}else if(type == DisplayNotificationsFragment.Type.POLL){
|
||||
parameters.append("exclude_types[]=").append("reblog").append("&");
|
||||
parameters.append("exclude_types[]=").append("follow").append("&");
|
||||
parameters.append("exclude_types[]=").append("mention").append("&");
|
||||
|
|
|
@ -90,7 +90,7 @@ public class DisplayNotificationsFragment extends Fragment implements OnRetrieve
|
|||
MENTION,
|
||||
FAVORITE,
|
||||
BOOST,
|
||||
POOL,
|
||||
POLL,
|
||||
FOLLOW
|
||||
}
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ public class TabLayoutNotificationsFragment extends Fragment {
|
|||
break;
|
||||
case 4:
|
||||
if (MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.MASTODON)
|
||||
type = DisplayNotificationsFragment.Type.POOL;
|
||||
type = DisplayNotificationsFragment.Type.POLL;
|
||||
else
|
||||
type = DisplayNotificationsFragment.Type.FOLLOW;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue