diff --git a/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt b/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt index 2514df5e38..30047836b7 100644 --- a/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt +++ b/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt @@ -42,7 +42,7 @@ import im.vector.riotredesign.features.rageshake.BugReporter import im.vector.riotredesign.features.rageshake.RageShake import im.vector.riotredesign.features.themes.ThemeUtils import im.vector.riotredesign.receivers.DebugReceiver -import im.vector.ui.themes.ActivityOtherThemes +import im.vector.riotredesign.features.themes.ActivityOtherThemes import io.reactivex.disposables.CompositeDisposable import io.reactivex.disposables.Disposable import org.koin.android.ext.android.inject diff --git a/vector/src/main/java/im/vector/riotredesign/features/themes/ActivityOtherThemes.kt b/vector/src/main/java/im/vector/riotredesign/features/themes/ActivityOtherThemes.kt index da17de4962..159a480137 100644 --- a/vector/src/main/java/im/vector/riotredesign/features/themes/ActivityOtherThemes.kt +++ b/vector/src/main/java/im/vector/riotredesign/features/themes/ActivityOtherThemes.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package im.vector.ui.themes +package im.vector.riotredesign.features.themes import androidx.annotation.StyleRes import im.vector.riotredesign.R @@ -33,45 +33,4 @@ sealed class ActivityOtherThemes(@StyleRes val dark: Int, R.style.AppTheme_Status ) - object NoActionBarFullscreen : ActivityOtherThemes( - R.style.AppTheme_NoActionBar_FullScreen_Dark, - R.style.AppTheme_NoActionBar_FullScreen_Black, - R.style.AppTheme_NoActionBar_FullScreen_Status - ) - - object Home : ActivityOtherThemes( - R.style.HomeActivityTheme_Dark, - R.style.HomeActivityTheme_Black, - R.style.HomeActivityTheme_Status - ) - - object Group : ActivityOtherThemes( - R.style.GroupAppTheme_Dark, - R.style.GroupAppTheme_Black, - R.style.GroupAppTheme_Status - ) - - object Picker : ActivityOtherThemes( - R.style.CountryPickerTheme_Dark, - R.style.CountryPickerTheme_Black, - R.style.CountryPickerTheme_Status - ) - - object Lock : ActivityOtherThemes( - R.style.Theme_Vector_Lock_Dark, - R.style.Theme_Vector_Lock_Light, - R.style.Theme_Vector_Lock_Status - ) - - object Search : ActivityOtherThemes( - R.style.SearchesAppTheme_Dark, - R.style.SearchesAppTheme_Black, - R.style.SearchesAppTheme_Status - ) - - object Call : ActivityOtherThemes( - R.style.CallActivityTheme_Dark, - R.style.CallActivityTheme_Black, - R.style.CallActivityTheme_Status - ) } \ No newline at end of file diff --git a/vector/src/main/java/im/vector/riotredesign/features/themes/ThemeUtils.kt b/vector/src/main/java/im/vector/riotredesign/features/themes/ThemeUtils.kt index 1e69b83b79..26a265df60 100644 --- a/vector/src/main/java/im/vector/riotredesign/features/themes/ThemeUtils.kt +++ b/vector/src/main/java/im/vector/riotredesign/features/themes/ThemeUtils.kt @@ -28,7 +28,6 @@ import androidx.core.content.ContextCompat import androidx.core.graphics.drawable.DrawableCompat import androidx.preference.PreferenceManager import im.vector.riotredesign.R -import im.vector.ui.themes.ActivityOtherThemes import timber.log.Timber import java.util.* diff --git a/vector/src/main/res/values/theme_black.xml b/vector/src/main/res/values/theme_black.xml index 8c1afb690b..67fe9b9404 100644 --- a/vector/src/main/res/values/theme_black.xml +++ b/vector/src/main/res/values/theme_black.xml @@ -82,83 +82,4 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/vector/src/main/res/values/theme_dark.xml b/vector/src/main/res/values/theme_dark.xml index 9d9b1ec694..4cbf3f3295 100644 --- a/vector/src/main/res/values/theme_dark.xml +++ b/vector/src/main/res/values/theme_dark.xml @@ -201,101 +201,9 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/vector/src/main/res/values/theme_light.xml b/vector/src/main/res/values/theme_light.xml index 006f026e15..4880da2071 100644 --- a/vector/src/main/res/values/theme_light.xml +++ b/vector/src/main/res/values/theme_light.xml @@ -203,108 +203,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -