Comment #467 #464 - fix some theme colors / bugs

This commit is contained in:
Thomas 2022-11-17 19:16:14 +01:00
parent 536af42e27
commit d886693c75
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public interface MastodonFiltersService {
@Field("expires_at") Date expires_at, @Field("expires_at") Date expires_at,
@Field("filter_action") String filter_action, @Field("filter_action") String filter_action,
@Field("context[]") List<String> context, @Field("context[]") List<String> context,
@Field("keywords_attributes") List<Filter.KeywordsAttributes> keywordsAttributes @Field("keywords_attributes[]") List<Filter.KeywordsAttributes> keywordsAttributes
); );
//Edit a filter //Edit a filter
@ -66,7 +66,7 @@ public interface MastodonFiltersService {
@Field("expires_at") Date expires_at, @Field("expires_at") Date expires_at,
@Field("filter_action") String filter_action, @Field("filter_action") String filter_action,
@Field("context[]") List<String> context, @Field("context[]") List<String> context,
@Field("keywords_attributes") List<Filter.KeywordsAttributes> keywordsAttributes @Field("keywords_attributes[]") List<Filter.KeywordsAttributes> keywordsAttributes
); );
//Remove a filter //Remove a filter

View File

@ -59,14 +59,14 @@ public class Filter implements Serializable {
public String filter_action; public String filter_action;
} }
public static class Keyword { public static class Keyword implements Serializable {
@SerializedName("keyword") @SerializedName("keyword")
public String keyword; public String keyword;
@SerializedName("whole_word") @SerializedName("whole_word")
public boolean whole_word; public boolean whole_word;
} }
public static class KeywordsAttributes { public static class KeywordsAttributes implements Serializable {
@SerializedName("id") @SerializedName("id")
public String id; public String id;
@SerializedName("keyword") @SerializedName("keyword")