mirror of https://github.com/M66B/FairEmail.git
Removed UTF8 warning
This commit is contained in:
parent
94362d52ef
commit
3f4c9d6625
|
@ -119,7 +119,6 @@ public class FragmentAccount extends FragmentBase {
|
|||
private Button btnCheck;
|
||||
private ContentLoadingProgressBar pbCheck;
|
||||
private TextView tvIdle;
|
||||
private TextView tvUtf8;
|
||||
|
||||
private ArrayAdapter<EntityFolder> adapter;
|
||||
private Spinner spDrafts;
|
||||
|
@ -226,7 +225,6 @@ public class FragmentAccount extends FragmentBase {
|
|||
pbCheck = view.findViewById(R.id.pbCheck);
|
||||
|
||||
tvIdle = view.findViewById(R.id.tvIdle);
|
||||
tvUtf8 = view.findViewById(R.id.tvUtf8);
|
||||
|
||||
spDrafts = view.findViewById(R.id.spDrafts);
|
||||
spSent = view.findViewById(R.id.spSent);
|
||||
|
@ -273,7 +271,6 @@ public class FragmentAccount extends FragmentBase {
|
|||
|
||||
btnCheck.setVisibility(position > 0 ? View.VISIBLE : View.GONE);
|
||||
tvIdle.setVisibility(View.GONE);
|
||||
tvUtf8.setVisibility(View.GONE);
|
||||
|
||||
Object tag = adapterView.getTag();
|
||||
if (tag != null && (Integer) tag == position)
|
||||
|
@ -529,7 +526,6 @@ public class FragmentAccount extends FragmentBase {
|
|||
btnAdvanced.setVisibility(View.GONE);
|
||||
|
||||
tvIdle.setVisibility(View.GONE);
|
||||
tvUtf8.setVisibility(View.GONE);
|
||||
|
||||
btnCheck.setVisibility(View.GONE);
|
||||
pbCheck.setVisibility(View.GONE);
|
||||
|
@ -629,7 +625,6 @@ public class FragmentAccount extends FragmentBase {
|
|||
Helper.setViewsEnabled(view, false);
|
||||
pbCheck.setVisibility(View.VISIBLE);
|
||||
tvIdle.setVisibility(View.GONE);
|
||||
tvUtf8.setVisibility(View.GONE);
|
||||
grpFolders.setVisibility(View.GONE);
|
||||
grpError.setVisibility(View.GONE);
|
||||
btnHelp.setVisibility(View.GONE);
|
||||
|
@ -738,7 +733,6 @@ public class FragmentAccount extends FragmentBase {
|
|||
@Override
|
||||
protected void onExecuted(Bundle args, CheckResult result) {
|
||||
tvIdle.setVisibility(result.idle ? View.GONE : View.VISIBLE);
|
||||
tvUtf8.setVisibility(result.utf8 == null || result.utf8 ? View.GONE : View.VISIBLE);
|
||||
if (!result.idle)
|
||||
etInterval.setText(Integer.toString(EntityAccount.DEFAULT_POLL_INTERVAL));
|
||||
|
||||
|
|
|
@ -660,17 +660,6 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/btnCheck" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvUtf8"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/title_no_utf8"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textStyle="italic"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvIdle" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvDrafts"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -775,7 +764,7 @@
|
|||
android:layout_marginTop="12dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/barrier_folders"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvUtf8" />
|
||||
app:layout_constraintTop_toBottomOf="@id/tvIdle" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvDraftsRemark"
|
||||
|
|
Loading…
Reference in New Issue