This commit extracts the logic to initialize a fragment without UI on a seperate method called `initTaskRetainerFragment`.
Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
This commit:
- Creates a `initUI()` method to handle the setup of the toolbar and UI components
- Removes corresponding code from `onCreate()` and replaced it with a call to the new method
- Improves readability of `onCreate()` method
This change does not affect the functionality of the original code.
Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
This commit refactors the onCreate() method by exctracting a new method to handle the layout inflation and setting of the content view. The readability of onCreate method is improved.
This change does not affect the functionality of the original code.
Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
This commit refactors the onCreate() method by extracting the code responsible for loading the saved instance state into a separate method named loadSavedInstanceState(). This improves the readability and maintainability of the code by reducing the complexity of the onCreate() method and separating concerns. The loadSavedInstanceState() method simply takes a Bundle parameter and initializes the relevant instance variables based on the saved state. The onCreate() method now simply calls the super.onCreate() method, sets the default theme, and initializes the sync broadcast receiver.
This change does not affect the functionality of the original code.
Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
* Use unmodified primary color as background through M3 utils for login screen
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
* Use color utils to fix colors in AuthenticatorActivity for light primaries
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
* WhatsNewActivity: fix for light primary color, port to viewbinding
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
* Fix status bar colors in pre-login screens
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
* FeatureFragment: fix spotbugs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
* Update login screenshot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
* build: Set ui dep to 0.5.0 tag
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
---------
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
add tests
Rename .java to .kt
only show secure filedrop / sharing on NC26+
Refactor EncryptionUtils to avoid having test arguments on public method
Added secure filedrop
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>