v0.8.2: fixed news and supporter scenes closing app on back press
This commit is contained in:
parent
01ac35b955
commit
e5faaabcab
|
@ -155,6 +155,11 @@ public class NewsScene extends PixelScene {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onBackPressed() {
|
||||
ShatteredPixelDungeon.switchNoFade( TitleScene.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
if (displayingNoArticles && News.articlesAvailable()){
|
||||
|
|
|
@ -103,6 +103,11 @@ public class SupporterScene extends PixelScene {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onBackPressed() {
|
||||
ShatteredPixelDungeon.switchNoFade( TitleScene.class );
|
||||
}
|
||||
|
||||
private static class SupporterMessage extends Component {
|
||||
|
||||
NinePatch bg;
|
||||
|
|
Loading…
Reference in New Issue
Block a user