Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import androidx.core.util.Consumer
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import co.touchlab.kermit.Logger
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.drop
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.launch
Expand All @@ -25,6 +27,7 @@ import org.koin.android.ext.android.inject
import zed.rainxch.core.data.services.LocalizationManager
import zed.rainxch.core.data.utils.AndroidShareManager
import zed.rainxch.core.domain.repository.TweaksRepository
import zed.rainxch.core.domain.use_cases.SyncInstalledAppsUseCase
import zed.rainxch.core.domain.utils.ShareManager
import zed.rainxch.githubstore.app.deeplink.DeepLinkParser

Expand All @@ -35,6 +38,8 @@ class MainActivity : ComponentActivity() {
private val shareManager: ShareManager by inject()
private val tweaksRepository: TweaksRepository by inject()
private val localizationManager: LocalizationManager by inject()
private val syncInstalledAppsUseCase: SyncInstalledAppsUseCase by inject()
private val appScope: CoroutineScope by inject()

override fun onCreate(savedInstanceState: Bundle?) {
installSplashScreen()
Expand Down Expand Up @@ -102,6 +107,14 @@ class MainActivity : ComponentActivity() {
}
}

override fun onRestart() {
super.onRestart()
appScope.launch {
runCatching { syncInstalledAppsUseCase() }
.onFailure { Logger.w(it) { "onRestart sync failed" } }
}
}

private fun handleIncomingIntent(intent: Intent?) {
if (intent == null) return

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Ignore updates per app — silence the update badge for any app you don't want to update."
]
},
{
"type": "FIXED",
"bullets": [
"Uninstalled apps now disappear from the tracked list right away, even when removed from system Settings."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"تجاهل التحديثات لكل تطبيق — أوقف تنبيه التحديث لأي تطبيق لا ترغب في تحديثه."
]
},
{
"type": "FIXED",
"bullets": [
"التطبيقات التي تم إلغاء تثبيتها — حتى من إعدادات النظام — تختفي الآن فوراً من قائمة التطبيقات المتتبَّعة."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"প্রতিটি অ্যাপের আপডেট উপেক্ষা করুন — যে অ্যাপটি আপডেট করতে চান না, তার আপডেট ব্যাজ বন্ধ করে দিন।"
]
},
{
"type": "FIXED",
"bullets": [
"সিস্টেম সেটিংস থেকে আনইনস্টল করা অ্যাপগুলো এখন ট্র্যাক করা তালিকা থেকে তাৎক্ষণিকভাবে সরে যায়।"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Ignorar actualizaciones por app — silencia la insignia de actualización en cualquier app que no quieras actualizar."
]
},
{
"type": "FIXED",
"bullets": [
"Las apps desinstaladas desde Ajustes del sistema ahora desaparecen al instante de la lista de seguimiento."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Ignorer les mises à jour par appli — masque la pastille de mise à jour pour les applis que tu ne veux pas mettre à jour."
]
},
{
"type": "FIXED",
"bullets": [
"Les applis désinstallées depuis les Paramètres système disparaissent maintenant immédiatement de la liste suivie."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"हर ऐप के अपडेट अनदेखा करें — जिस ऐप को अपडेट नहीं करना चाहते, उसका अपडेट बैज छिपा दें।"
]
},
{
"type": "FIXED",
"bullets": [
"सिस्टम सेटिंग्स से अनइंस्टॉल किए गए ऐप अब ट्रैक की गई सूची से तुरंत हट जाते हैं।"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Ignora aggiornamenti per app — silenzia la notifica di aggiornamento per le app che non vuoi aggiornare."
]
},
{
"type": "FIXED",
"bullets": [
"Le app disinstallate dalle Impostazioni di sistema spariscono ora subito dalla lista delle app tracciate."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"アプリごとに更新を無視 — 更新したくないアプリの更新バッジを非表示にできるようになりました。"
]
},
{
"type": "FIXED",
"bullets": [
"システム設定からアンインストールしたアプリが、追跡リストからすぐに消えるようになりました。"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"앱별 업데이트 무시 — 업데이트하고 싶지 않은 앱의 업데이트 배지를 숨길 수 있어요."
]
},
{
"type": "FIXED",
"bullets": [
"시스템 설정에서 제거한 앱이 추적 목록에서 즉시 사라집니다."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Ignorowanie aktualizacji dla każdej aplikacji — wycisz powiadomienie o aktualizacji dla dowolnej aplikacji, której nie chcesz aktualizować."
]
},
{
"type": "FIXED",
"bullets": [
"Aplikacje odinstalowane przez ustawienia systemu znikają teraz natychmiast z listy śledzonych."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Игнорировать обновления для отдельного приложения — отключите значок обновления у любого приложения, которое не хотите обновлять."
]
},
{
"type": "FIXED",
"bullets": [
"Приложения, удалённые через системные настройки, теперь сразу исчезают из списка отслеживаемых."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"Uygulama bazında güncelleme yok say — güncellemek istemediğin uygulamaların güncelleme rozetini sustur."
]
},
{
"type": "FIXED",
"bullets": [
"Sistem ayarlarından kaldırılan uygulamalar artık izlenen listeden anında siliniyor."
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"bullets": [
"按应用忽略更新 — 不想更新的应用,可以单独隐藏其更新提示。"
]
},
{
"type": "FIXED",
"bullets": [
"从系统设置卸载的应用,现在会立即从已追踪列表中消失。"
]
}
]
}