aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java5
-rw-r--r--app/src/main/java/utils/ContentProviderUtils.java2
2 files changed, 3 insertions, 4 deletions
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
index 18d2e08..d42f9d7 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
@@ -189,8 +189,9 @@ public class MainActivity extends AppCompatActivity
refreshNavigator();
}
- //TODO: Aplicar tema al navigator
- //navigationView.setBackgroundColor(themeManager.getPrimaryDarkColor());
+ if (tm.isDarkTheme()){
+ navigationView.setBackgroundColor(0xFF888888);
+ }
}
@Override
diff --git a/app/src/main/java/utils/ContentProviderUtils.java b/app/src/main/java/utils/ContentProviderUtils.java
index fca8477..e3cb6e8 100644
--- a/app/src/main/java/utils/ContentProviderUtils.java
+++ b/app/src/main/java/utils/ContentProviderUtils.java
@@ -41,8 +41,6 @@ public class ContentProviderUtils {
if ("primary".equalsIgnoreCase(type)) {
return Environment.getExternalStorageDirectory() + "/" + split[1];
}
-
- // TODO handle non-primary volumes
}
// DownloadsProvider
else if (isDownloadsDocument(uri)) {