mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-18 16:46:58 -04:00
Source code fixations
This commit is contained in:
@@ -358,7 +358,6 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
public void loginSavedAcc(View view)
|
||||
{
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(R.string.login_select_account);
|
||||
|
||||
if (Tools.enableDevFeatures) {
|
||||
/*
|
||||
@@ -376,7 +375,7 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
}
|
||||
|
||||
builder.setPositiveButton(android.R.string.cancel, null);
|
||||
|
||||
builder.setTitle(this.getString(R.string.login_select_account));
|
||||
final AlertDialog dialog = builder.create();
|
||||
|
||||
/*
|
||||
@@ -387,6 +386,8 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
lpHint.weight = 1;
|
||||
lpFlv.weight = 1;
|
||||
*/
|
||||
dialog.setTitle(this.getString(R.string.login_select_account));
|
||||
System.out.println("Setting title...");
|
||||
LinearLayout dialay = new LinearLayout(this);
|
||||
dialay.setOrientation(LinearLayout.VERTICAL);
|
||||
TextView fhint = new TextView(this);
|
||||
@@ -455,6 +456,7 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
dialay.addView(flv);
|
||||
|
||||
dialog.setView(dialay);
|
||||
dialog.setTitle(this.getString(R.string.login_select_account));
|
||||
dialog.show();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ public class ConsoleFragment extends Fragment
|
||||
|
||||
consoleView = (TextView) view.findViewById(R.id.lmaintabconsoleLogTextView);
|
||||
consoleView.setTypeface(Typeface.MONOSPACE);
|
||||
consoleView.setHint("No log");
|
||||
consoleView.setHint(this.getText(R.string.main_nolog));
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class CrashFragment extends Fragment
|
||||
|
||||
crashView = (TextView) getView().findViewById(R.id.lmaintabconsoleLogCrashTextView);
|
||||
crashView.setTypeface(Typeface.MONOSPACE);
|
||||
crashView.setHint("No crash detected.");
|
||||
crashView.setText(this.getText(R.string.main_nocrash));
|
||||
|
||||
//new File(crashPath).mkdirs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user