Typo (POOL --> POLL)

This commit is contained in:
Kasun 2019-05-04 13:31:38 +05:30
parent 5845fe199a
commit 16c2936d5a
3 changed files with 3 additions and 3 deletions

View File

@ -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("&");

View File

@ -90,7 +90,7 @@ public class DisplayNotificationsFragment extends Fragment implements OnRetrieve
MENTION,
FAVORITE,
BOOST,
POOL,
POLL,
FOLLOW
}

View File

@ -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;