Skip to content

Commit

Permalink
no default for share type avatar generation
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Nov 17, 2020
1 parent aa54d02 commit 85d8950
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/owncloud/android/utils/ThemeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,9 @@ public static boolean isDarkModeActive(Context context) {
return Configuration.UI_MODE_NIGHT_YES == nightModeFlag;
}

@SuppressFBWarnings(
value = "SF_SWITCH_NO_DEFAULT",
justification = "We only creat avatars for a subset of share types")
public static void createAvatar(ShareType type, ImageView avatar, Context context) {
switch (type) {
case GROUP:
Expand Down

0 comments on commit 85d8950

Please sign in to comment.