Skip to content

Commit

Permalink
Merge pull request #12077 from nextcloud/feature/use-m3-SetupEncrypti…
Browse files Browse the repository at this point in the history
…onDialogFragment

Use Material Design 3 For Setup Encryption Dialog Fragment
  • Loading branch information
AndyScherzinger committed Nov 1, 2023
2 parents c66f85d + 6529f0a commit 708e75b
Show file tree
Hide file tree
Showing 18 changed files with 572 additions and 562 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions app/src/androidTest/java/com/owncloud/android/AbstractIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,11 @@ protected void enableRTL() {
}

protected void resetLocale() {
Locale locale = new Locale("en");
Resources resources = InstrumentationRegistry.getInstrumentation().getTargetContext().getResources();
Configuration defaultConfig = resources.getConfiguration();
defaultConfig.setLocale(Locale.getDefault());
resources.updateConfiguration(defaultConfig, null);
Configuration config = resources.getConfiguration();
config.setLocale(locale);
resources.updateConfiguration(config, null);
}

protected void screenshot(View view) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ private FileDisplayActivity getFileDisplayActivity() {
Intent intent = new Intent(targetContext, FileDisplayActivity.class);
return activityRule.launchActivity(intent);
}

@Rule
public GrantPermissionRule permissionRule = GrantPermissionRule.grant(
android.Manifest.permission.POST_NOTIFICATIONS);


@After
public void quitLooperIfNeeded() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class LoadingDialog : DialogFragment(), Injectable {
viewThemeUtils?.platform?.tintDrawable(requireContext(), loadingDrawable)
}

viewThemeUtils?.platform?.colorViewBackground(binding.loadingLayout, ColorRole.SURFACE_VARIANT)
viewThemeUtils?.platform?.colorViewBackground(binding.loadingLayout, ColorRole.SURFACE)

return binding.root
}
Expand Down
Loading

0 comments on commit 708e75b

Please sign in to comment.