Subject: [PATCH] readme and add LeOS repos --- Index: README.md IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/README.md b/README.md --- a/README.md (revision 606b549c3b7cc2ed522e768543f0428cf91534f4) +++ b/README.md (revision c17032f99e142d8795ef140a61b160508fc385d9) @@ -2,72 +2,22 @@ Droid-ify -# Droid-ify +# LeOS-Droid ### A quick material F-Droid client. -[![Github Stars](https://img.shields.io/github/stars/Iamlooker/Droid-ify?color=%2364f573&style=for-the-badge)](https://github.com/Iamlooker/Droid-ify/stargazers) -[![Github License](https://img.shields.io/github/license/Iamlooker/Droid-ify?color=%2364f573&style=for-the-badge)](https://github.com/Iamlooker/Droid-ify/blob/master/COPYING) -[![Github Downloads](https://img.shields.io/github/downloads/Iamlooker/Droid-ify/total.svg?color=%23f5ad64&style=for-the-badge)](https://github.com/Iamlooker/Droid-ify/releases/) -[![Github Latest](https://img.shields.io/github/v/release/Iamlooker/Droid-ify?display_name=tag&color=%23f5ad64&style=for-the-badge)](https://github.com/Iamlooker/Droid-ify/releases/latest) -[![FDroid Latest](https://img.shields.io/f-droid/v/com.looker.droidify?color=%23f5ad64&style=for-the-badge)](https://f-droid.org/packages/com.looker.droidify) -
-## Features +## :book: Features -* Material & Clean design +* Material F-Droid style +* No cards or inappropriate animations * Fast repository syncing -* Smooth user experience -* Feature-rich - -## Screenshots +* Standard Android components and minimal dependencies +* share option - -## Building and Installing -1. **Install Android Studio**: - - Download and install [Android Studio](https://developer.android.com/studio) on your computer if you haven't already. +## :scroll: License -2. **Clone the Repository**: - - Open Android Studio and select "Project from Version Control." - - Paste the link to this repository to clone it to your local machine. +Licensed GPLv3+. \ -3. **Build the APK**: - - In Android Studio, navigate to `Build > APK`. - - Select "Create New Keystore" and enter the required information, including a password. - - Wait for the build process to finish. - -## TODO - -- [ ] Add support for `index-v2` -- [ ] Add detekt code-analysis -- [ ] Add GitHub Repo feature - -## Contribution - -- Pick any issue you would like to resolve -- Fork the project -- Open a Pull Request -- Your PR will undergo review - -## Translations -[![Translation status](https://hosted.weblate.org/widgets/droidify/-/horizontal-auto.svg)](https://hosted.weblate.org/engage/droidify/?utm_source=widget) - -## License - -``` -Droid-ify - -Copyright (C) 2023 LooKeR -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program. If not, see . -``` Index: core/data/src/main/java/com/looker/core/data/fdroid/repository/RepoRepository.kt IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/core/data/src/main/java/com/looker/core/data/fdroid/repository/RepoRepository.kt b/core/data/src/main/java/com/looker/core/data/fdroid/repository/RepoRepository.kt --- a/core/data/src/main/java/com/looker/core/data/fdroid/repository/RepoRepository.kt (revision 606b549c3b7cc2ed522e768543f0428cf91534f4) +++ b/core/data/src/main/java/com/looker/core/data/fdroid/repository/RepoRepository.kt (revision c17032f99e142d8795ef140a61b160508fc385d9) @@ -1,19 +1,19 @@ -package com.leos.core.data.fdroid.repository +package com.looker.core.data.fdroid.repository -import android.content.Context -import com.leos.core.model.newer.Repo +import com.looker.core.domain.newer.Repo import kotlinx.coroutines.flow.Flow interface RepoRepository { - fun getRepos(): Flow> + suspend fun getRepo(id: Long): Repo + + fun getRepos(): Flow> - suspend fun updateRepo(repo: Repo): Boolean + suspend fun updateRepo(repo: Repo) - suspend fun enableRepository(repo: Repo, enable: Boolean) + suspend fun enableRepository(repo: Repo, enable: Boolean) - suspend fun sync(context: Context, repo: Repo, allowUnstable: Boolean): Boolean + suspend fun sync(repo: Repo): Boolean - suspend fun syncAll(context: Context, allowUnstable: Boolean): Boolean - -} \ No newline at end of file + suspend fun syncAll(): Boolean +}