diff --git a/app/src/main/java/org/nuclearfog/twidda/config/impl/ConfigAccount.java b/app/src/main/java/org/nuclearfog/twidda/config/impl/ConfigAccount.java index fe49513a..3ea23380 100644 --- a/app/src/main/java/org/nuclearfog/twidda/config/impl/ConfigAccount.java +++ b/app/src/main/java/org/nuclearfog/twidda/config/impl/ConfigAccount.java @@ -129,11 +129,9 @@ public class ConfigAccount implements Account { case API_TWITTER_2: return Configuration.TWITTER2; + default: case API_MASTODON: return Configuration.MASTODON; - - default: - throw new RuntimeException("wrong API type: " + apiType); } }