Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
automatic code reformat using Android Studio
  • Loading branch information
udenr committed Jan 23, 2024
1 parent 7ebb922 commit e7a75f9
Show file tree
Hide file tree
Showing 74 changed files with 809 additions and 917 deletions.
9 changes: 4 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
<activity
android:name="org.secuso.privacyfriendly2048.activities.StatsActivity"
android:theme="@style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.secuso.privacyfriendly2048.activities.MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.secuso.privacyfriendly2048.activities.MainActivity" />
</activity>
<activity
android:name=".activities.SettingsActivity"
Expand All @@ -74,8 +74,7 @@
<activity
android:name=".activities.GameActivity"
android:label="@string/title_activity_game"
android:parentActivityName=".activities.MainActivity"
>
android:parentActivityName=".activities.MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.secuso.privacyfriendly2048.activities.MainActivity" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
package org.secuso.privacyfriendly2048.activities;

import android.os.Bundle;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;

import org.secuso.privacyfriendly2048.BuildConfig;
import org.secuso.privacyfriendly2048.R;
import org.secuso.privacyfriendly2048.activities.helper.BaseActivity;
Expand All @@ -43,7 +44,7 @@ protected void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.activity_about);

ActionBar ab = getSupportActionBar();
if(ab != null) {
if (ab != null) {
ab.setDisplayHomeAsUpEnabled(true);
}

Expand All @@ -55,9 +56,9 @@ protected void onCreate(Bundle savedInstanceState) {

overridePendingTransition(0, 0);

((TextView)findViewById(R.id.secusoWebsite)).setMovementMethod(LinkMovementMethod.getInstance());
((TextView)findViewById(R.id.githubURL)).setMovementMethod(LinkMovementMethod.getInstance());
((TextView)findViewById(R.id.textFieldVersionName)).setText(getString(R.string.version_number, BuildConfig.VERSION_NAME));
((TextView) findViewById(R.id.secusoWebsite)).setMovementMethod(LinkMovementMethod.getInstance());
((TextView) findViewById(R.id.githubURL)).setMovementMethod(LinkMovementMethod.getInstance());
((TextView) findViewById(R.id.textFieldVersionName)).setText(getString(R.string.version_number, BuildConfig.VERSION_NAME));
}

//@Override
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit e7a75f9

Please sign in to comment.