fix crash when using quick compose tile

main
Conny Duck 6 years ago
parent d2dbb955a5
commit 852ed37ac7
  1. 4
      app/src/main/java/com/keylesspalace/tusky/service/TuskyTileService.java

@ -34,6 +34,8 @@ public class TuskyTileService extends TileService {
@Override
public void onClick() {
startActivityAndCollapse(new Intent(this, ComposeActivity.class));
Intent intent = new Intent(this, ComposeActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityAndCollapse(intent);
}
}

Loading…
Cancel
Save