[Android] Rename the css license files
diegofn
git at videolan.org
Sun Jun 28 10:40:17 CEST 2020
vlc-android | branch: master | diegofn <diegofn at me.com> | Sat Jun 6 15:24:23 2020 -0500| [b52b32f422a5b58a7cfa5c97940a86658702bfee] | committer: diegofn
Rename the css license files
> https://code.videolan.org/videolan/vlc-android/commit/b52b32f422a5b58a7cfa5c97940a86658702bfee
---
application/vlc-android/assets/licence_dark_tv.css | 2 +-
.../vlc-android/assets/{licence_dark.css => license_dark.css} | 0
.../vlc-android/assets/{licence_light.css => license_light.css} | 0
application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt | 6 +++---
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/application/vlc-android/assets/licence_dark_tv.css b/application/vlc-android/assets/licence_dark_tv.css
index 096192465..5db8a82aa 100644
--- a/application/vlc-android/assets/licence_dark_tv.css
+++ b/application/vlc-android/assets/licence_dark_tv.css
@@ -1 +1 @@
-html,body{color:#fafafa;background:#323232;margin-left:50px;margin-right:50px;margin-top:20px; margin-bottom20px;}a:link {color: #ff7d00;}a:visited {color: #ffca7d;}
\ No newline at end of file
+html,body{color:#fafafa;background:#323232;margin-left:50px;margin-right:50px;margin-top:20px; margin-bottom:20px;}a:link {color: #ff7d00;}a:visited {color: #ffca7d;}
\ No newline at end of file
diff --git a/application/vlc-android/assets/licence_dark.css b/application/vlc-android/assets/license_dark.css
similarity index 100%
rename from application/vlc-android/assets/licence_dark.css
rename to application/vlc-android/assets/license_dark.css
diff --git a/application/vlc-android/assets/licence_light.css b/application/vlc-android/assets/license_light.css
similarity index 100%
rename from application/vlc-android/assets/licence_light.css
rename to application/vlc-android/assets/license_light.css
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
index 914280b9b..ecd0d5528 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
@@ -87,13 +87,13 @@ class AboutFragment : Fragment() {
// Inject CSS when page is done loading
injectCSS(webView, when (context?.resources?.configuration?.uiMode?.and(Configuration.UI_MODE_NIGHT_MASK)) {
Configuration.UI_MODE_NIGHT_YES -> {
- "licence_dark.css"
+ "license_dark.css"
}
Configuration.UI_MODE_NIGHT_NO -> {
- "licence_light.css"
+ "license_light.css"
}
else -> {
- "licence_light.css"
+ "license_light.css"
}
})
injectCommitRevision(webView, revision)
More information about the Android
mailing list