mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-16 11:30:34 +01:00
fixed crash
This commit is contained in:
parent
b728c2d15d
commit
c664a37ea0
@ -129,11 +129,9 @@ public class ConfigAccount implements Account {
|
|||||||
case API_TWITTER_2:
|
case API_TWITTER_2:
|
||||||
return Configuration.TWITTER2;
|
return Configuration.TWITTER2;
|
||||||
|
|
||||||
|
default:
|
||||||
case API_MASTODON:
|
case API_MASTODON:
|
||||||
return Configuration.MASTODON;
|
return Configuration.MASTODON;
|
||||||
|
|
||||||
default:
|
|
||||||
throw new RuntimeException("wrong API type: " + apiType);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user