File tree Expand file tree Collapse file tree 20 files changed +0
-45
lines changed
java/com/ismartcoding/plain/ui Expand file tree Collapse file tree 20 files changed +0
-45
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ class MainViewModel(savedStateHandle: SavedStateHandle) : ViewModel() {
3030 var httpServerState by savedStateHandle.saveable {
3131 mutableStateOf(HttpServerState .OFF )
3232 }
33- var isNetworkConnected by savedStateHandle.saveable { mutableStateOf(true ) }
3433 var isVPNConnected by savedStateHandle.saveable { mutableStateOf(false ) }
3534 var ip4s by savedStateHandle.saveable { mutableStateOf(emptyList<String >()) }
3635 var ip4 by savedStateHandle.saveable { mutableStateOf(" " ) }
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ import com.ismartcoding.plain.ui.base.PAlert
3939import com.ismartcoding.plain.ui.base.PMiniOutlineButton
4040import com.ismartcoding.plain.ui.base.TopSpace
4141import com.ismartcoding.plain.ui.base.VerticalSpace
42- import com.ismartcoding.plain.ui.components.NetworkErrorBanner
4342import com.ismartcoding.plain.ui.models.MainViewModel
4443import com.ismartcoding.plain.ui.page.root.home.HomeFeatures
4544import com.ismartcoding.plain.ui.page.root.home.HomeWeb
@@ -70,7 +69,6 @@ fun TabContentHome(
7069
7170 is WindowFocusChangedEvent -> {
7271 mainVM.isVPNConnected = NetworkHelper .isVPNConnected(context)
73- mainVM.isNetworkConnected = NetworkHelper .isNetworkConnected(context)
7472 mainVM.ip4s = NetworkHelper .getDeviceIP4s().filter { it.isNotEmpty() }
7573 mainVM.ip4 = NetworkHelper .getDeviceIP4().ifEmpty { " 127.0.0.1" }
7674 systemAlertWindow = Permission .SYSTEM_ALERT_WINDOW .can(context)
@@ -85,11 +83,6 @@ fun TabContentHome(
8583 item {
8684 TopSpace ()
8785 }
88- item {
89- NetworkErrorBanner (
90- isVisible = ! mainVM.isNetworkConnected && webEnabled
91- )
92- }
9386 item {
9487 if (webEnabled) {
9588 if (mainVM.httpServerError.isNotEmpty()) {
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >আপনার প্লেলিস্ট খালি</string >
630630 <string name =" drag_number_to_reorder" >প্লেলিস্ট পুনরায় সাজাতে নম্বরটি টানুন</string >
631631 <string name =" remove_from_playlist" >প্লেলিস্ট থেকে সরান</string >
632- <string name =" no_network_connection" >কোনো নেটওয়ার্ক সংযোগ নেই।</string >
633632 <string name =" access_phone_web" >একটি কম্পিউটার ব্রাউজার থেকে আপনার ফোন অ্যাক্সেস করুন।</string >
634633 <string name =" scan_qrcode_to_access_web" >ওয়েব ঠিকানা অ্যাক্সেস করতে QR কোড স্ক্যান করুন</string >
635634 <string name =" cannot_share_system_component" >সিস্টেম কম্পোনেন্ট শেয়ার করা যাবে না। এই ফাইলটি একটি সুরক্ষিত সিস্টেম মডিউল।</string >
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >Ihre Playlist ist leer</string >
630630 <string name =" drag_number_to_reorder" >Ziehen Sie die Nummer, um die Playlist neu zu ordnen</string >
631631 <string name =" remove_from_playlist" >Aus Playlist entfernen</string >
632- <string name =" no_network_connection" >Keine Netzwerkverbindung.</string >
633632 <string name =" access_phone_web" >Greifen Sie über einen Computerbrowser auf Ihr Telefon zu.</string >
634633 <string name =" scan_qrcode_to_access_web" >Scannen Sie den QR-Code, um auf die Webadresse zuzugreifen</string >
635634 <string name =" cannot_share_system_component" >Systemkomponente kann nicht geteilt werden. Diese Datei ist ein geschütztes Systemmodul.</string >
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >Tu lista de reproducción está vacía</string >
630630 <string name =" drag_number_to_reorder" >Arrastra el número para reordenar los elementos</string >
631631 <string name =" remove_from_playlist" >Eliminar de la lista</string >
632- <string name =" no_network_connection" >Sin conexión de red.</string >
633632 <string name =" access_phone_web" >Accede a tu teléfono desde el navegador de una computadora.</string >
634633 <string name =" scan_qrcode_to_access_web" >Escanea el código QR para acceder a la dirección web</string >
635634 <string name =" cannot_share_system_component" >No se puede compartir el componente del sistema. Este archivo es un módulo del sistema protegido.</string >
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >Votre liste de lecture est vide</string >
630630 <string name =" drag_number_to_reorder" >Faites glisser le numéro pour réorganiser la liste</string >
631631 <string name =" remove_from_playlist" >Supprimer de la liste</string >
632- <string name =" no_network_connection" >Aucune connexion réseau.</string >
633632 <string name =" access_phone_web" >Accédez à votre téléphone depuis un navigateur sur un ordinateur.</string >
634633 <string name =" scan_qrcode_to_access_web" >Scannez le code QR ci-dessus pour accéder à votre téléphone depuis un navigateur sur un ordinateur.</string >
635634 <string name =" cannot_share_system_component" >Impossible de partager le composant du système. Ce fichier est un module du système protégé.</string >
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >आपकी प्लेलिस्ट खाली है</string >
630630 <string name =" drag_number_to_reorder" >क्रम बदलने के लिए नंबर खींचें</string >
631631 <string name =" remove_from_playlist" >प्लेलिस्ट से हटाएं</string >
632- <string name =" no_network_connection" >कोई नेटवर्क कनेक्शन नहीं।</string >
633632 <string name =" access_phone_web" >कंप्यूटर ब्राउज़र से अपने फ़ोन तक पहुँचें।</string >
634633 <string name =" scan_qrcode_to_access_web" >वेब पता तक पहुँचने के लिए QR कोड स्कैन करें</string >
635634 <string name =" cannot_share_system_component" >सिस्टम घटक साझा करना संभव नहीं है। यह फ़ाइल एक सुरक्षित सिस्टम मॉड्यूल है।</string >
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >La tua playlist è vuota</string >
630630 <string name =" drag_number_to_reorder" >Trascina il numero per riordinare</string >
631631 <string name =" remove_from_playlist" >Rimuovi dalla playlist</string >
632- <string name =" no_network_connection" >Nessuna connessione di rete.</string >
633632 <string name =" access_phone_web" >Accedi al tuo telefono da un browser del computer.</string >
634633 <string name =" scan_qrcode_to_access_web" >Scansiona il codice QR per accedere all\'indirizzo web</string >
635634 <string name =" cannot_share_system_component" >Impossibile condividere il componente del sistema. Questo file è un modulo del sistema protetto.</string >
Original file line number Diff line number Diff line change 629629 <string name =" empty_playlist" >プレイリストが空です</string >
630630 <string name =" drag_number_to_reorder" >番号をドラッグして順番を変更</string >
631631 <string name =" remove_from_playlist" >プレイリストから削除</string >
632- <string name =" no_network_connection" >ネットワーク接続がありません。</string >
633632 <string name =" access_phone_web" >コンピュータのブラウザから携帯電話にアクセスします。</string >
634633 <string name =" scan_qrcode_to_access_web" >WebアドレスにアクセスするためにQRコードをスキャンします</string >
635634 <string name =" cannot_share_system_component" >システムコンポーネントを共有できません。このファイルは保護されたシステムモジュールです。</string >
You can’t perform that action at this time.
0 commit comments