Rename all features modules

This commit is contained in:
ganfra 2023-01-20 18:35:03 +01:00
parent 6cc38c9c49
commit f800e22477
149 changed files with 311 additions and 309 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.bugreport
package io.element.android.features.rageshake.bugreport
sealed interface BugReportEvents {
object SendBugReport : BugReportEvents

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.bugreport
package io.element.android.features.rageshake.bugreport
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.bugreport
package io.element.android.features.rageshake.bugreport
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
@ -26,11 +26,11 @@ import androidx.compose.runtime.saveable.rememberSaveable
import androidx.core.net.toUri
import io.element.android.libraries.architecture.Async
import io.element.android.libraries.architecture.Presenter
import io.element.android.x.features.rageshake.crash.CrashDataStore
import io.element.android.x.features.rageshake.logs.VectorFileLogger
import io.element.android.x.features.rageshake.reporter.BugReporter
import io.element.android.x.features.rageshake.reporter.ReportType
import io.element.android.x.features.rageshake.screenshot.ScreenshotHolder
import io.element.android.features.rageshake.crash.CrashDataStore
import io.element.android.features.rageshake.logs.VectorFileLogger
import io.element.android.features.rageshake.reporter.BugReporter
import io.element.android.features.rageshake.reporter.ReportType
import io.element.android.features.rageshake.screenshot.ScreenshotHolder
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import javax.inject.Inject

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.bugreport
package io.element.android.features.rageshake.bugreport
import android.os.Parcelable
import io.element.android.libraries.architecture.Async

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.bugreport
package io.element.android.features.rageshake.bugreport
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.crash
package io.element.android.features.rageshake.crash
import android.content.Context
import androidx.datastore.core.DataStore

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.crash
package io.element.android.features.rageshake.crash
import android.content.Context
import android.os.Build

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.crash.ui
package io.element.android.features.rageshake.crash.ui
sealed interface CrashDetectionEvents {
object ResetAllCrashData : CrashDetectionEvents

View file

@ -14,13 +14,13 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.crash.ui
package io.element.android.features.rageshake.crash.ui
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.rememberCoroutineScope
import io.element.android.libraries.architecture.Presenter
import io.element.android.x.features.rageshake.crash.CrashDataStore
import io.element.android.features.rageshake.crash.CrashDataStore
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import javax.inject.Inject

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.crash.ui
package io.element.android.features.rageshake.crash.ui
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.crash.ui
package io.element.android.features.rageshake.crash.ui
data class CrashDetectionState(
val crashDetected: Boolean = false,

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.detection
package io.element.android.features.rageshake.detection
import io.element.android.libraries.core.screenshot.ImageResult

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.detection
package io.element.android.features.rageshake.detection
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
@ -25,10 +25,10 @@ import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.saveable.rememberSaveable
import io.element.android.libraries.architecture.Presenter
import io.element.android.libraries.core.screenshot.ImageResult
import io.element.android.x.features.rageshake.preferences.RageshakePreferencesEvents
import io.element.android.x.features.rageshake.preferences.RageshakePreferencesPresenter
import io.element.android.x.features.rageshake.rageshake.RageShake
import io.element.android.x.features.rageshake.screenshot.ScreenshotHolder
import io.element.android.features.rageshake.preferences.RageshakePreferencesEvents
import io.element.android.features.rageshake.preferences.RageshakePreferencesPresenter
import io.element.android.features.rageshake.rageshake.RageShake
import io.element.android.features.rageshake.screenshot.ScreenshotHolder
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import timber.log.Timber

View file

@ -14,10 +14,10 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.detection
package io.element.android.features.rageshake.detection
import androidx.compose.runtime.Stable
import io.element.android.x.features.rageshake.preferences.RageshakePreferencesState
import io.element.android.features.rageshake.preferences.RageshakePreferencesState
@Stable
data class RageshakeDetectionState(

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.detection
package io.element.android.features.rageshake.detection
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.logs
package io.element.android.features.rageshake.logs
import java.io.PrintWriter
import java.io.StringWriter

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.logs
package io.element.android.features.rageshake.logs
import android.content.Context
import android.util.Log

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.preferences
package io.element.android.features.rageshake.preferences
sealed interface RageshakePreferencesEvents {
data class SetSensitivity(val sensitivity: Float) : RageshakePreferencesEvents

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.preferences
package io.element.android.features.rageshake.preferences
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
@ -23,8 +23,8 @@ import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.saveable.rememberSaveable
import io.element.android.libraries.architecture.Presenter
import io.element.android.x.features.rageshake.rageshake.RageShake
import io.element.android.x.features.rageshake.rageshake.RageshakeDataStore
import io.element.android.features.rageshake.rageshake.RageShake
import io.element.android.features.rageshake.rageshake.RageshakeDataStore
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import javax.inject.Inject

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.preferences
package io.element.android.features.rageshake.preferences
data class RageshakePreferencesState(
val isEnabled: Boolean = false,

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.preferences
package io.element.android.features.rageshake.preferences
import androidx.compose.foundation.layout.Column
import androidx.compose.material.icons.Icons

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.rageshake
package io.element.android.features.rageshake.rageshake
import android.content.Context
import android.hardware.Sensor

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.rageshake
package io.element.android.features.rageshake.rageshake
import android.content.Context
import androidx.datastore.core.DataStore

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.reporter
package io.element.android.features.rageshake.reporter
import android.content.Context
import android.os.Build
@ -22,10 +22,10 @@ import io.element.android.libraries.core.extensions.toOnOff
import io.element.android.libraries.core.file.compressFile
import io.element.android.libraries.core.mimetype.MimeTypes
import io.element.android.libraries.di.ApplicationContext
import io.element.android.x.features.rageshake.R
import io.element.android.x.features.rageshake.crash.CrashDataStore
import io.element.android.x.features.rageshake.logs.VectorFileLogger
import io.element.android.x.features.rageshake.screenshot.ScreenshotHolder
import io.element.android.features.rageshake.R
import io.element.android.features.rageshake.crash.CrashDataStore
import io.element.android.features.rageshake.logs.VectorFileLogger
import io.element.android.features.rageshake.screenshot.ScreenshotHolder
import java.io.File
import java.io.IOException
import java.io.OutputStreamWriter

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.reporter;
package io.element.android.features.rageshake.reporter;
import java.io.IOException;
import java.util.ArrayList;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.reporter
package io.element.android.features.rageshake.reporter
enum class ReportType {
BUG_REPORT,

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.rageshake.screenshot
package io.element.android.features.rageshake.screenshot
import android.content.Context
import android.graphics.Bitmap

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.x.features.login
package io.element.android.features.login
import org.junit.Assert.assertEquals
import org.junit.Test