mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Fix codacy
This commit is contained in:
parent
dc1b04f3ed
commit
e79d18f439
2 changed files with 1 additions and 3 deletions
|
|
@ -309,7 +309,7 @@ public class Utils {
|
||||||
return value == null || value.trim().isEmpty();
|
return value == null || value.trim().isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isDarkTheme(Context context){
|
public static boolean isDarkTheme(Context context) {
|
||||||
if (PreferenceManager.getDefaultSharedPreferences(context).getBoolean("theme",true)) {
|
if (PreferenceManager.getDefaultSharedPreferences(context).getBoolean("theme",true)) {
|
||||||
return true;
|
return true;
|
||||||
}else {
|
}else {
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,6 @@ public class NearbyActivity extends BaseActivity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
|
@ -190,5 +189,4 @@ public class NearbyActivity extends BaseActivity {
|
||||||
fragmentTransaction.replace(R.id.container, fragment);
|
fragmentTransaction.replace(R.id.container, fragment);
|
||||||
fragmentTransaction.commit();
|
fragmentTransaction.commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue