Browse Source

fix lint

main
Distopico Vegan 6 years ago
parent
commit
4c8c683598
4 changed files with 4 additions and 18 deletions
  1. +0
    -8
      app/src/main/java/org/dystopia/email/FragmentMessages.java
  2. +0
    -6
      app/src/main/res/layout/fragment_messages.xml
  3. +1
    -1
      app/src/main/res/values-en/strings.xml
  4. +3
    -3
      app/src/main/res/values-es-rES/strings.xml

+ 0
- 8
app/src/main/java/org/dystopia/email/FragmentMessages.java View File

@ -84,7 +84,6 @@ public class FragmentMessages extends FragmentEx {
private RecyclerView rvMessage;
private BottomNavigationView bottom_navigation;
private ProgressBar pbWait;
private Group grpSupport;
private Group grpHintSupport;
private Group grpHintSwipe;
private Group grpHintSelect;
@ -161,7 +160,6 @@ public class FragmentMessages extends FragmentEx {
rvMessage = view.findViewById(R.id.rvFolder);
bottom_navigation = view.findViewById(R.id.bottom_navigation);
pbWait = view.findViewById(R.id.pbWait);
grpSupport = view.findViewById(R.id.grpSupport);
grpHintSupport = view.findViewById(R.id.grpHintSupport);
grpHintSwipe = view.findViewById(R.id.grpHintSwipe);
grpHintSelect = view.findViewById(R.id.grpHintSelect);
@ -841,12 +839,6 @@ public class FragmentMessages extends FragmentEx {
}
}
@Override
public void onResume() {
super.onResume();
grpSupport.setVisibility(View.GONE);
}
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.menu_messages, menu);


+ 0
- 6
app/src/main/res/layout/fragment_messages.xml View File

@ -157,12 +157,6 @@
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/action_messages" />
<androidx.constraintlayout.widget.Group
android:id="@+id/grpSupport"
android:layout_width="0dp"
android:layout_height="0dp"
app:constraint_referenced_ids="tvSupport,vSeparatorSupport" />
<androidx.constraintlayout.widget.Group
android:id="@+id/grpHintSupport"
android:layout_width="0dp"


+ 1
- 1
app/src/main/res/values-en/strings.xml View File

@ -251,7 +251,7 @@
<string name="title_debug_info_remark">Please describe the problem and indicate the time of the problem:</string>
<string name="title_crash_info_remark">Please describe what you were doing when the app crashed:</string>
<string name="title_privacy">Privacy policy</string>
<string name="title_privacy_description"><b>SimpleEmail</b> does not collect any information, does not require unnecessary permissions and is <b>100% Free Software</b>.</string>
<string name="title_privacy_description"><b>SimpleEmail</b> does not collect any information, does not require unnecessary permissions and is <b>100\% Free Software</b>.</string>
<string name="title_permissions"><b>Permissions are needed and why</b></string>
<string name="title_permissions_list"><b>• have full network access</b> (INTERNET): to send and receive email <b> • view network connections</b> (ACCESS_NETWORK_STATE): to monitor internet connectivity changes <b> • run at startup</b> (RECEIVE_BOOT_COMPLETED): to start monitoring on device start <b> • foreground service</b> (FOREGROUND_SERVICE): to run a foreground service on Android 9 Pie and later <b> • prevent device from sleeping</b> (WAKE_LOCK): to keep the device awake while synchronizing messages <b> • [Optional] read your contacts</b> (READ_CONTACTS): to autocomplete addresses and to show photos <b> • [Optional] find accounts on the device</b> (GET_ACCOUNTS): to use OAuth instead of passwords</string>
</resources>

+ 3
- 3
app/src/main/res/values-es-rES/strings.xml View File

@ -250,8 +250,8 @@
<string name="title_debug_info">Información de depuración</string>
<string name="title_debug_info_remark">Por favor describa el problema e indique el momento del mismo:</string>
<string name="title_crash_info_remark">Por favor describa que estaba haciendo cuando la app falló:</string>
<string name="title_privacy">Política de privacidad</string>
<string name="title_privacy_description"><b>SimpleEmail</b> no recopila ninguna información, no requiere permisos innecesarios y es <b>100% software libre</b>.</string>
<string name="title_permissions"><b>Se necesitan permisos y por qué</b></string>
<string name="title_privacy">Política de privacidad</string>
<string name="title_privacy_description"><b>SimpleEmail</b> no recopila ninguna información, no requiere permisos innecesarios y es <b>100\% software libre</b>.</string>
<string name="title_permissions"><b>Se necesitan permisos y por qué</b></string>
<string name="title_permissions_list"><b> • tiene acceso completo a la red </b> (INTERNET): para enviar y recibir correo electrónico <b> • ver conexiones de red </b> (ACCESS_NETWORK_STATE): para monitorear los cambios de conectividad a internet <b> • ejecutar al inicio </b> (RECEIVE_BOOT_COMPLETED): para iniciar el monitoreo en el inicio del dispositivo <b> • Servicio de primer plano </b> (FOREGROUND_SERVICE): para ejecutar un servicio de primer plano en Android 9 Pie y posterior <b> • evitar que el dispositivo entre en suspensión </b> (WAKE_LOCK): para mantener el dispositivo despierto mientras se sincronizan los mensajes <b> • [Opcional] lee tus contactos </b> (READ_CONTACTS): autocompletar direcciones y mostrar fotos <b> • [Opcional] encuentre cuentas en el dispositivo </b> (GET_ACCOUNTS): usar OAuth en lugar de contraseñas</string>
</resources>

Loading…
Cancel
Save