Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c68e643 authored by Nishant Dande's avatar Nishant Dande
Browse files

Fix CI Klint issues

parent 6a567219
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -16,10 +16,8 @@
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */


package foundation.e.apps.presentation.login


data class LoginState(
    val isLoading: Boolean = false,
    val isLoggedIn: Boolean = false,
+0 −2
Original line number Diff line number Diff line
@@ -140,11 +140,9 @@ class LoginViewModel @Inject constructor(
        }
    }


    private val _loginState: MutableLiveData<LoginState> = MutableLiveData()
    val loginState: LiveData<LoginState> = _loginState


    fun authenticateAnonymousUser(
        properties: Properties,
        userAgent: String = SystemInfoProvider.getAppBuildInfo()
+0 −2
Original line number Diff line number Diff line
@@ -16,10 +16,8 @@
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */


package foundation.e.apps.utils


sealed class Resource<T>(val data: T? = null, val message: String? = null) {
    class Success<T>(data: T) : Resource<T>(data)
    class Error<T>(message: String, data: T? = null) : Resource<T>(data, message)