Skip to content

Commit

Permalink
settings: less is more (fixes #5092) (#5102)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
pavi38 and dogi authored Jan 23, 2025
1 parent f6b555e commit c911e7c
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 26
targetSdkVersion 34
versionCode 2231
versionName "0.22.31"
versionCode 2232
versionName "0.22.32"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@ class LoginActivity : SyncActivity(), TeamListAdapter.OnItemClickListener {
false
}
setUpLanguageButton()
if (defaultPref.getBoolean("saveUsernameAndPassword", false)) {
activityLoginBinding.inputName.setText(settings.getString(getString(R.string.login_user), ""))
activityLoginBinding.inputPassword.setText(settings.getString(getString(R.string.login_password), ""))
}
if (NetworkUtils.isNetworkConnected) {
service.syncPlanetServers(mRealm) { success: String? ->
toast(this, success)
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<string name="get_started">البدء</string>
<string name="enter_password">أدخل كلمة المرور</string>
<string name="managerial_login">تسجيل الدخول كمدير</string>
<string name="save_username_and_password">حفظ اسم المستخدم وكلمة المرور</string>
<string name="year">السنة</string>
<string name="publisher">الناشر</string>
<string name="link_to_license">رابط الترخيص</string>
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@
<string name="search_user">Buscar usuario</string>
<string name="get_started">EMPEZAR</string>
<string name="enter_password">Ingresar contraseña</string>
<string name="managerial_login">Inicio de sesión del administrador</string>
<string name="save_username_and_password">Guardar nombre de usuario y contraseña</string>
<string name="year">Año</string>
<string name="publisher">Editor</string>
<string name="link_to_license">Enlace a la licencia</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<string name="get_started">COMMENCER</string>
<string name="enter_password">Entrer le mot de passe</string>
<string name="managerial_login">Connexion en tant que gestionnaire</string>
<string name="save_username_and_password">Enregistrer le nom d\'utilisateur et le mot de passe</string>
<string name="year">Année</string>
<string name="publisher">Éditeur</string>
<string name="link_to_license">Lien vers la licence</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ne/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<string name="get_started">सुरु गर्नुहोस्</string>
<string name="enter_password">पासवर्ड प्रविष्ट गर्नुहोस्</string>
<string name="managerial_login">प्रबन्धक लगइन</string>
<string name="save_username_and_password">प्रयोगकर्तानाम र पासवर्ड सुरक्षित गर्नुहोस्</string>
<string name="year">वर्ष</string>
<string name="publisher">प्रकाशक</string>
<string name="link_to_license">लाइसेन्समा लिङ्क</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-so/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<string name="get_started">BILAAB</string>
<string name="enter_password">Geli Password</string>
<string name="managerial_login">Maareeyaha Soo gal</string>
<string name= "save_username_and_password">Keydi magaca isticmaalaha iyo erayga sirta ah</string>
<string name="year">Sannad</string>
<string name="publisher">Daabace</string>
<string name="link_to_license">Link to shatiga</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<string name="get_started">GET STARTED</string>
<string name="enter_password">Enter Password</string>
<string name="managerial_login">Manager Login</string>
<string name="save_username_and_password">save username and password</string>
<string name="year">Year</string>
<string name="publisher">Publisher</string>
<string name="link_to_license">Link to license</string>
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/res/xml/pref.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<Preference
android:key="app_language"
android:title="@string/language" />
<SwitchPreference
android:defaultValue="false"
android:key="saveUsernameAndPassword"
android:title="@string/save_username_and_password" />
<Preference
android:key="dark_mode"
android:title="@string/dark_mode" />
Expand Down

0 comments on commit c911e7c

Please sign in to comment.