diff --git a/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java b/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java
index 70f6315..8a0c49c 100644
--- a/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java
+++ b/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java
@@ -157,8 +157,6 @@ public class MainActivity extends BaseActivity {
}else {
NavigationUtil.navigate(this, HomeFragment.class, null);
}
-
- new MenuDrawerFragment().show(getSupportFragmentManager(), null);
}
@Override
diff --git a/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/AboutFragment.java b/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/AboutFragment.java
index 97b8a95..5fee034 100644
--- a/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/AboutFragment.java
+++ b/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/AboutFragment.java
@@ -8,6 +8,7 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
+import com.cringe_studios.cringe_authenticator.R;
import com.cringe_studios.cringe_authenticator.databinding.FragmentAboutBinding;
public class AboutFragment extends NamedFragment {
@@ -16,7 +17,7 @@ public class AboutFragment extends NamedFragment {
@Override
public String getName() {
- return "About";
+ return requireActivity().getString(R.string.fragment_about);
}
@Nullable
diff --git a/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/HomeFragment.java b/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/HomeFragment.java
index d093341..7bcfb68 100644
--- a/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/HomeFragment.java
+++ b/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/HomeFragment.java
@@ -7,6 +7,7 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
+import com.cringe_studios.cringe_authenticator.R;
import com.cringe_studios.cringe_authenticator.databinding.FragmentHomeBinding;
import com.cringe_studios.cringe_authenticator.util.FabUtil;
@@ -16,7 +17,7 @@ public class HomeFragment extends NamedFragment {
@Override
public String getName() {
- return "Home";
+ return requireActivity().getString(R.string.fragment_home);
}
@Override
diff --git a/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/SettingsFragment.java b/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/SettingsFragment.java
index ff911c2..637886e 100644
--- a/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/SettingsFragment.java
+++ b/app/src/main/java/com/cringe_studios/cringe_authenticator/fragment/SettingsFragment.java
@@ -17,6 +17,7 @@ import androidx.annotation.Nullable;
import androidx.biometric.BiometricManager;
import com.cringe_studios.cringe_authenticator.MainActivity;
+import com.cringe_studios.cringe_authenticator.R;
import com.cringe_studios.cringe_authenticator.crypto.BiometricKey;
import com.cringe_studios.cringe_authenticator.crypto.Crypto;
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
@@ -41,7 +42,7 @@ public class SettingsFragment extends NamedFragment {
@Override
public String getName() {
- return "Settings";
+ return requireActivity().getString(R.string.fragment_settings);
}
@Nullable
diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml
index 99bb987..0ef32bf 100644
--- a/app/src/main/res/values-de-rDE/strings.xml
+++ b/app/src/main/res/values-de-rDE/strings.xml
@@ -71,4 +71,7 @@
Code hinzufügen
Einstellungen
Developed by Cringe Studios and JG-Cody
+ Zuhause
+ Einstellungen
+ Über
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ced1e85..7d58729 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -63,6 +63,9 @@
Settings
Appearance
Developed by Cringe Studios and JG-Cody
+ Home
+ Settings
+ About
- View
- Edit