Added "Community" tab in the menu, with links to the Github and Discord

This commit is contained in:
Yair Morgenstern
2019-06-07 15:55:48 +03:00
parent fc41de7a83
commit 84bcfe2d39
4 changed files with 36 additions and 2 deletions

View File

@ -1,17 +1,24 @@
package com.unciv.app;
import android.content.Intent;
import android.os.Bundle;
import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.unciv.UnCivGame;
import static android.content.Intent.ACTION_VIEW;
public class AndroidLauncher extends AndroidApplication {
@Override
protected void onCreate (Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
String version = BuildConfig.VERSION_NAME;
Intent openInActionView = new Intent(ACTION_VIEW);
initialize(new UnCivGame(version), config);
}
}