fixed crash

This commit is contained in:
nuclearfog 2023-06-15 19:46:20 +02:00
parent b728c2d15d
commit c664a37ea0
No known key found for this signature in database
GPG Key ID: 03488A185C476379

View File

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